feat: add annotation.
This commit is contained in:
@@ -17,15 +17,18 @@
|
|||||||
<StackPanel>
|
<StackPanel>
|
||||||
<ToggleSwitch
|
<ToggleSwitch
|
||||||
Name="overlay"
|
Name="overlay"
|
||||||
|
Content="Window/Overlay"
|
||||||
IsChecked="{Binding IsWindow}"
|
IsChecked="{Binding IsWindow}"
|
||||||
OffContent="Overlay"
|
OffContent="Overlay"
|
||||||
OnContent="Window" />
|
OnContent="Window" />
|
||||||
<ToggleSwitch
|
<ToggleSwitch
|
||||||
|
Content="Global/Local"
|
||||||
IsVisible="{Binding !#overlay.IsChecked}"
|
IsVisible="{Binding !#overlay.IsChecked}"
|
||||||
IsChecked="{Binding IsGlobal}"
|
IsChecked="{Binding IsGlobal}"
|
||||||
OffContent="Local"
|
OffContent="Local"
|
||||||
OnContent="Global" />
|
OnContent="Global" />
|
||||||
<ToggleSwitch
|
<ToggleSwitch
|
||||||
|
Content="Modal/Regular"
|
||||||
IsVisible="{Binding !#overlay.IsChecked}"
|
IsVisible="{Binding !#overlay.IsChecked}"
|
||||||
IsChecked="{Binding IsModal}"
|
IsChecked="{Binding IsModal}"
|
||||||
OffContent="Regular"
|
OffContent="Regular"
|
||||||
@@ -51,9 +54,9 @@
|
|||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem Header="Custom">
|
<TabItem Header="Custom">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<ToggleSwitch OffContent="Overlay" OnContent="Window" IsChecked="{Binding IsWindow}" Name="overlay2" />
|
<ToggleSwitch Content="Window/Overlay" OffContent="Overlay" OnContent="Window" IsChecked="{Binding IsWindow}" Name="overlay2" />
|
||||||
<ToggleSwitch IsVisible="{Binding !#overlay2.IsChecked}" OffContent="Local" OnContent="Global" IsChecked="{Binding IsGlobal}" />
|
<ToggleSwitch Content="Global/Local" IsVisible="{Binding !#overlay2.IsChecked}" OffContent="Local" OnContent="Global" IsChecked="{Binding IsGlobal}" />
|
||||||
<ToggleSwitch IsVisible="{Binding !#overlay2.IsChecked}" OffContent="Regular" OnContent="Modal" IsChecked="{Binding IsModal}" />
|
<ToggleSwitch Content="Modal/Regular" IsVisible="{Binding !#overlay2.IsChecked}" OffContent="Regular" OnContent="Modal" IsChecked="{Binding IsModal}" />
|
||||||
<Button Content="Show Dialog" Command="{Binding ShowCustomDialogCommand}" />
|
<Button Content="Show Dialog" Command="{Binding ShowCustomDialogCommand}" />
|
||||||
<TextBlock>
|
<TextBlock>
|
||||||
<Run Text="Custom Result: "></Run>
|
<Run Text="Custom Result: "></Run>
|
||||||
|
|||||||
Reference in New Issue
Block a user