diff --git a/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorPickerStyles.axaml b/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorPickerStyles.axaml index 49041753..cc906ba1 100644 --- a/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorPickerStyles.axaml +++ b/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorPickerStyles.axaml @@ -1,6 +1,7 @@ + xmlns:converters="using:Avalonia.Controls.Converters" + x:CompileBindings="True"> diff --git a/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorView.axaml b/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorView.axaml index 370cbcda..7676a7c4 100644 --- a/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorView.axaml +++ b/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorView.axaml @@ -12,6 +12,7 @@ + 48 30 @@ -102,31 +103,32 @@ + - + + - - - @@ -144,22 +146,85 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - @@ -199,24 +264,17 @@ Grid.Row="0" Height="338" Width="350" + Padding="0" SelectedIndex="{Binding SelectedIndex, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"> - - 0,0,0,0 - - - - + + + + + - + - + - + - - + + diff --git a/FluentAvalonia/Styling/StylesV2/LightResources.axaml b/FluentAvalonia/Styling/StylesV2/LightResources.axaml index dc5b71be..a538caa9 100644 --- a/FluentAvalonia/Styling/StylesV2/LightResources.axaml +++ b/FluentAvalonia/Styling/StylesV2/LightResources.axaml @@ -1475,8 +1475,8 @@ - - + + diff --git a/FluentAvaloniaSamples/Assets/CoreControlsGroups.json b/FluentAvaloniaSamples/Assets/CoreControlsGroups.json index b5c5003f..ce9256c4 100644 --- a/FluentAvaloniaSamples/Assets/CoreControlsGroups.json +++ b/FluentAvaloniaSamples/Assets/CoreControlsGroups.json @@ -63,7 +63,7 @@ }, { "Header": "Miscellaneous Controls", - "Description": "Flyout, GridSplitter, ScrollViewer, ScrollBar, ToolTip", + "Description": "Flyout, GridSplitter, ScrollViewer, ScrollBar, ToolTip, ColorPicker", "IconResourceKey": null, "Navigates": true, "PageType": "MiscControlsPage"