fix: various issues of demos.
This commit is contained in:
parent
8142dd48cd
commit
8de7a1ae8c
@ -26,29 +26,7 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="AutoCompleteBox.Split">
|
|
||||||
<Setter Property="Width" Value="100" />
|
|
||||||
</Style>
|
|
||||||
</StackPanel.Styles>
|
</StackPanel.Styles>
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<AutoCompleteBox Classes="Split Large"
|
|
||||||
ValueMemberBinding="{ReflectionBinding Name}" />
|
|
||||||
<AutoCompleteBox Classes="Split"
|
|
||||||
ValueMemberBinding="{ReflectionBinding Name}" />
|
|
||||||
<AutoCompleteBox Classes="Split Small"
|
|
||||||
ValueMemberBinding="{ReflectionBinding Name}" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<AutoCompleteBox Classes="Split"
|
|
||||||
IsEnabled="False"
|
|
||||||
ValueMemberBinding="{ReflectionBinding Name}" />
|
|
||||||
<AutoCompleteBox Classes="Split Bordered"
|
|
||||||
ValueMemberBinding="{ReflectionBinding Name}" />
|
|
||||||
<AutoCompleteBox Classes="Split Bordered"
|
|
||||||
IsEnabled="False"
|
|
||||||
ValueMemberBinding="{ReflectionBinding Name}" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<AutoCompleteBox
|
<AutoCompleteBox
|
||||||
Watermark="Please select a State"
|
Watermark="Please select a State"
|
||||||
@ -70,5 +48,41 @@
|
|||||||
InnerLeftContent="https://"
|
InnerLeftContent="https://"
|
||||||
InnerRightContent=".com"
|
InnerRightContent=".com"
|
||||||
ValueMemberBinding="{ReflectionBinding Name}" />
|
ValueMemberBinding="{ReflectionBinding Name}" />
|
||||||
|
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<AutoCompleteBox
|
||||||
|
Width="100"
|
||||||
|
Classes="Large"
|
||||||
|
Watermark="Large"
|
||||||
|
ValueMemberBinding="{ReflectionBinding Name}" />
|
||||||
|
<AutoCompleteBox
|
||||||
|
Width="100"
|
||||||
|
Watermark="Default"
|
||||||
|
ValueMemberBinding="{ReflectionBinding Name}" />
|
||||||
|
<AutoCompleteBox
|
||||||
|
Width="100"
|
||||||
|
Classes="Small"
|
||||||
|
Watermark="Small"
|
||||||
|
ValueMemberBinding="{ReflectionBinding Name}" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<AutoCompleteBox
|
||||||
|
Width="100"
|
||||||
|
IsEnabled="False"
|
||||||
|
Watermark="Disabled"
|
||||||
|
ValueMemberBinding="{ReflectionBinding Name}" />
|
||||||
|
<AutoCompleteBox
|
||||||
|
Width="100"
|
||||||
|
Classes="Bordered"
|
||||||
|
Watermark="Bordered"
|
||||||
|
ValueMemberBinding="{ReflectionBinding Name}" />
|
||||||
|
<AutoCompleteBox
|
||||||
|
Width="100"
|
||||||
|
Classes="Bordered"
|
||||||
|
IsEnabled="False"
|
||||||
|
ValueMemberBinding="{ReflectionBinding Name}" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</UserControl>
|
</UserControl>
|
@ -4,62 +4,53 @@
|
|||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
d:DesignHeight="450"
|
d:DesignHeight="800"
|
||||||
d:DesignWidth="800"
|
d:DesignWidth="800"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
||||||
|
<StackPanel.Styles>
|
||||||
|
<Style Selector="NumericUpDown">
|
||||||
|
<Setter Property="Width" Value="300" />
|
||||||
|
<Setter Property="Maximum" Value="100" />
|
||||||
|
<Setter Property="Minimum" Value="0" />
|
||||||
|
</Style>
|
||||||
|
</StackPanel.Styles>
|
||||||
|
|
||||||
|
<NumericUpDown />
|
||||||
|
<NumericUpDown Increment="10" />
|
||||||
|
<NumericUpDown ButtonSpinnerLocation="Left" />
|
||||||
|
<NumericUpDown ShowButtonSpinner="False" />
|
||||||
|
<NumericUpDown Classes="Large" />
|
||||||
|
<NumericUpDown Classes="Small" />
|
||||||
|
<NumericUpDown InnerLeftContent="Price" InnerRightContent="$" />
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<NumericUpDown Classes="Large" Width="150" ButtonSpinnerLocation="Left"/>
|
<NumericUpDown
|
||||||
<NumericUpDown Width="150" ShowButtonSpinner="False" />
|
Width="100"
|
||||||
<NumericUpDown Classes="Small" Width="150" />
|
Classes="Large"
|
||||||
|
Watermark="Large"
|
||||||
|
ButtonSpinnerLocation="Left" />
|
||||||
|
<NumericUpDown
|
||||||
|
Width="100"
|
||||||
|
Watermark="Default"
|
||||||
|
ShowButtonSpinner="False" />
|
||||||
|
<NumericUpDown
|
||||||
|
Width="100"
|
||||||
|
Watermark="Small"
|
||||||
|
Classes="Small" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<NumericUpDown Width="150" ButtonSpinnerLocation="Left" />
|
<NumericUpDown Width="100" ButtonSpinnerLocation="Left" />
|
||||||
<NumericUpDown Width="150" ShowButtonSpinner="False" />
|
<NumericUpDown Width="100" ShowButtonSpinner="False" />
|
||||||
<NumericUpDown Width="150" />
|
<NumericUpDown Width="100" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<NumericUpDown Width="150" ShowButtonSpinner="False" />
|
<NumericUpDown Width="100" ShowButtonSpinner="False" />
|
||||||
<NumericUpDown IsEnabled="False" Width="150" />
|
<NumericUpDown Width="100" IsEnabled="False" />
|
||||||
<NumericUpDown Width="150" ButtonSpinnerLocation="Left" />
|
<NumericUpDown Width="100" ButtonSpinnerLocation="Left" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<NumericUpDown
|
|
||||||
Width="200"
|
|
||||||
Maximum="100"
|
|
||||||
Minimum="0" />
|
|
||||||
<NumericUpDown
|
|
||||||
Width="200"
|
|
||||||
Increment="10"
|
|
||||||
Maximum="100"
|
|
||||||
Minimum="0" />
|
|
||||||
<NumericUpDown
|
|
||||||
Width="200"
|
|
||||||
ButtonSpinnerLocation="Left"
|
|
||||||
Maximum="100"
|
|
||||||
Minimum="0" />
|
|
||||||
<NumericUpDown
|
|
||||||
Width="200"
|
|
||||||
Maximum="100"
|
|
||||||
Minimum="0"
|
|
||||||
ShowButtonSpinner="False" />
|
|
||||||
<NumericUpDown
|
|
||||||
Width="200"
|
|
||||||
Classes="Large"
|
|
||||||
Maximum="100"
|
|
||||||
Minimum="0" />
|
|
||||||
<NumericUpDown
|
|
||||||
Width="200"
|
|
||||||
Classes="Small"
|
|
||||||
Maximum="100"
|
|
||||||
Minimum="0" />
|
|
||||||
<NumericUpDown
|
|
||||||
Width="200"
|
|
||||||
InnerLeftContent="Price"
|
|
||||||
InnerRightContent="$"
|
|
||||||
Maximum="100"
|
|
||||||
Minimum="0" />
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</UserControl>
|
</UserControl>
|
@ -14,11 +14,13 @@
|
|||||||
Orientation="Vertical"
|
Orientation="Vertical"
|
||||||
Spacing="4">
|
Spacing="4">
|
||||||
<ToggleButton
|
<ToggleButton
|
||||||
|
HorizontalAlignment="Stretch"
|
||||||
Name="PaneOpenButton"
|
Name="PaneOpenButton"
|
||||||
Content="IsPaneOpen"
|
Content="IsPaneOpen"
|
||||||
IsChecked="{Binding IsPaneOpen, ElementName=SplitView}" />
|
IsChecked="{Binding IsPaneOpen, ElementName=SplitView}" />
|
||||||
|
|
||||||
<ToggleButton
|
<ToggleButton
|
||||||
|
HorizontalAlignment="Stretch"
|
||||||
Name="UseLightDismissOverlayModeButton"
|
Name="UseLightDismissOverlayModeButton"
|
||||||
Content="UseLightDismissOverlayMode"
|
Content="UseLightDismissOverlayMode"
|
||||||
IsChecked="{Binding UseLightDismissOverlayMode, ElementName=SplitView}" />
|
IsChecked="{Binding UseLightDismissOverlayMode, ElementName=SplitView}" />
|
||||||
|
@ -5,23 +5,11 @@
|
|||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:system="clr-namespace:System;assembly=netstandard"
|
xmlns:system="clr-namespace:System;assembly=netstandard"
|
||||||
d:DesignHeight="450"
|
d:DesignHeight="800"
|
||||||
d:DesignWidth="800"
|
d:DesignWidth="800"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<ScrollViewer>
|
<ScrollViewer>
|
||||||
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<TextBox Classes="Large" Width="150"/>
|
|
||||||
<TextBox Width="150"/>
|
|
||||||
<TextBox Classes="Small" Width="150"/>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<TextBox IsEnabled="False" Width="150"/>
|
|
||||||
<TextBox Classes="Bordered" Width="150"/>
|
|
||||||
<TextBox Classes="Bordered" IsEnabled="False" Width="150"/>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<TextBox Width="300" />
|
<TextBox Width="300" />
|
||||||
<TextBox Width="300" Classes="Large" />
|
<TextBox Width="300" Classes="Large" />
|
||||||
<TextBox Width="300" Classes="Small" />
|
<TextBox Width="300" Classes="Small" />
|
||||||
@ -54,6 +42,35 @@
|
|||||||
InnerLeftContent="http://"
|
InnerLeftContent="http://"
|
||||||
InnerRightContent=".com"
|
InnerRightContent=".com"
|
||||||
IsEnabled="False" />
|
IsEnabled="False" />
|
||||||
|
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<TextBox
|
||||||
|
Width="150"
|
||||||
|
Classes="Large"
|
||||||
|
Watermark="Large" />
|
||||||
|
<TextBox
|
||||||
|
Width="150"
|
||||||
|
Watermark="Default" />
|
||||||
|
<TextBox
|
||||||
|
Width="150"
|
||||||
|
Classes="Small"
|
||||||
|
Watermark="Small" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<TextBox
|
||||||
|
Width="150"
|
||||||
|
IsEnabled="False"
|
||||||
|
Watermark="Disabled" />
|
||||||
|
<TextBox
|
||||||
|
Width="150"
|
||||||
|
Classes="Bordered"
|
||||||
|
Watermark="Bordered" />
|
||||||
|
<TextBox
|
||||||
|
Width="150"
|
||||||
|
Classes="Bordered"
|
||||||
|
IsEnabled="False" />
|
||||||
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<ToggleButton Classes="Success">Success</ToggleButton>
|
<ToggleButton Classes="Success">Success</ToggleButton>
|
||||||
<ToggleButton Classes="Warning">Warning</ToggleButton>
|
<ToggleButton Classes="Warning">Warning</ToggleButton>
|
||||||
<ToggleButton Classes="Danger">Danger</ToggleButton>
|
<ToggleButton Classes="Danger">Danger</ToggleButton>
|
||||||
<ToggleButton Classes="Danger" IsEnabled="False">Danger</ToggleButton>
|
<ToggleButton Classes="Danger" IsEnabled="False">Disabled</ToggleButton>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<TextBlock Text="Toggle Button Checked State" />
|
<TextBlock Text="Toggle Button Checked State" />
|
||||||
<StackPanel Orientation="Horizontal" Spacing="20">
|
<StackPanel Orientation="Horizontal" Spacing="20">
|
||||||
@ -32,7 +32,7 @@
|
|||||||
Classes="Danger"
|
Classes="Danger"
|
||||||
IsChecked="True"
|
IsChecked="True"
|
||||||
IsEnabled="False">
|
IsEnabled="False">
|
||||||
Danger
|
Disabled
|
||||||
</ToggleButton>
|
</ToggleButton>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<TextBlock Text="Toggle Button Three State" />
|
<TextBlock Text="Toggle Button Three State" />
|
||||||
@ -79,7 +79,7 @@
|
|||||||
IsChecked="{x:Null}"
|
IsChecked="{x:Null}"
|
||||||
IsEnabled="False"
|
IsEnabled="False"
|
||||||
IsThreeState="True">
|
IsThreeState="True">
|
||||||
Danger
|
Disabled
|
||||||
</ToggleButton>
|
</ToggleButton>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user