diff --git a/NeoUI/NeoUI/Assists/AnchorAssist.cs b/NeoUI/NeoUI/Assists/AnchorAssist.cs index 1ec07c9..0def167 100644 --- a/NeoUI/NeoUI/Assists/AnchorAssist.cs +++ b/NeoUI/NeoUI/Assists/AnchorAssist.cs @@ -41,9 +41,4 @@ public class AnchorAssist { obj.SetValue(HeaderProperty, value); } - - - - - } \ No newline at end of file diff --git a/NeoUI/NeoUI/Controls/Alert.xaml b/NeoUI/NeoUI/Controls/Alert.xaml index 979abc5..6edb144 100644 --- a/NeoUI/NeoUI/Controls/Alert.xaml +++ b/NeoUI/NeoUI/Controls/Alert.xaml @@ -1,24 +1,24 @@  + xmlns:decorations="clr-namespace:NeoUI.Controls.Decorations" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> - - - - - - - \ No newline at end of file diff --git a/NeoUI/NeoUI/Controls/Cascader.xaml b/NeoUI/NeoUI/Controls/Cascader.xaml index a0f1e24..3a6072b 100644 --- a/NeoUI/NeoUI/Controls/Cascader.xaml +++ b/NeoUI/NeoUI/Controls/Cascader.xaml @@ -1,18 +1,18 @@  + xmlns:internal="clr-namespace:NeoUI.Converters.Internal" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> - - - - \ No newline at end of file diff --git a/NeoUI/NeoUI/Controls/Pill.xaml b/NeoUI/NeoUI/Controls/Chip.xaml similarity index 97% rename from NeoUI/NeoUI/Controls/Pill.xaml rename to NeoUI/NeoUI/Controls/Chip.xaml index 318ba3d..0d7fa70 100644 --- a/NeoUI/NeoUI/Controls/Pill.xaml +++ b/NeoUI/NeoUI/Controls/Chip.xaml @@ -5,7 +5,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> - - - + + - + + VerticalOffset="4" + x:Name="PART_Popup"> - - + CornerRadius="4" + Margin="8" + MaxHeight="{TemplateBinding MaxDropDownHeight}" + MinWidth="{Binding ActualWidth, ElementName=templateRoot}" + x:Name="dropDownBorder"> + + + VerticalAlignment="Top" + Width="0" + x:Name="canvas"> + Width="{Binding ActualWidth, ElementName=dropDownBorder}" + x:Name="opaqueRect" /> + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + x:Name="ItemsPresenter" /> + Margin="-4" + Style="{StaticResource ComboBoxToggleButton}" + x:Name="toggleButton" /> + Margin="{TemplateBinding BorderThickness}" + x:Name="border"> + x:Name="PART_EditableTextBox" /> + x:Name="Placeholder"> - - - + + - + + VerticalOffset="4" + x:Name="PART_Popup"> - - + CornerRadius="4" + Margin="8" + MaxHeight="{TemplateBinding MaxDropDownHeight}" + MinWidth="{Binding ActualWidth, ElementName=templateRoot}" + x:Name="dropDownBorder"> + + + VerticalAlignment="Top" + Width="0" + x:Name="canvas"> + Width="{Binding ActualWidth, ElementName=dropDownBorder}" + x:Name="opaqueRect" /> + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + x:Name="ItemsPresenter" /> - + + Margin="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + x:Name="contentPresenter" /> - - + + - + @@ -593,18 +595,18 @@ - - - + + + - - - - - - - - - - - - - + + + + + @@ -464,7 +463,7 @@ BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4" SnapsToDevicePixels="True"> - + @@ -481,7 +480,7 @@