robloo
0bf3a6d944
Rename `ShowAccentColors` to `IsAccentColorsVisible` and disable drop shadow when false
4 years ago
robloo
05f4bcad80
Enable compiled bindings for ColorPicker and ColorView
4 years ago
robloo
9e51c990cd
Add missing properties to ColorPicker template
4 years ago
robloo
443977b85d
Specify TargetType and DataType in most templates
4 years ago
robloo
38bdb8a7b3
Remove unused code
4 years ago
robloo
012d376369
Standardize converters
4 years ago
robloo
971dc32b3f
Add code to hide the tab strip when only one tab is visible
4 years ago
robloo
d64a58459d
Better implement ColorView backgrounds in the template for easier re-styling
4 years ago
robloo
a24720816f
Standardize ColorControl resource names
This follows the Fluent standard where the resource is prefixed with the control itself
4 years ago
robloo
6370ae38de
Switch to TemplateBinding in ColorPicker where possible
4 years ago
robloo
0f62c96339
Remove unused ValueConverterGroup
4 years ago
robloo
9e1a6253b6
Only disable alpha editing controls when IsAlphaEnabled is false
Rely on IsAlphaVisible for visibility
4 years ago
robloo
04e4045554
Only set slider IsVisible once
4 years ago
robloo
58f9b443d9
Implement IsAlphaEnabled using coercion
4 years ago
robloo
2c4e5a3435
Use nested styles in ColorView
4 years ago
robloo
4de48a220c
Add IsColorModelVisible and IsComponentSliderVisible properties
4 years ago
robloo
0863a05c76
Rename PointerLeave to PointerExited
4 years ago
robloo
8a0903f616
Rename PointerEnter to PointerEntered
4 years ago
robloo
c464cab975
Partial work-around for Flyout binding issues
4 years ago
robloo
bcb8588bdc
Allow setting the PaletteColors collection as an IEnumerable
In WPF it was standard to have read-only collections. However, it's necessary to bind this collection between the ColorPicker and ColorView so it cannot be read-only. ItemsControl in Avalonia implements the Items property a similar way.
4 years ago
robloo
03b080ae04
Remove 'Custom' term from Palette properties
4 years ago
robloo
118f583102
Remove 'Tab' terminology from SelectedIndex property
4 years ago
robloo
b58b726f89
Set the CustomPalette property in XAML
4 years ago
robloo
35440b0f21
Remove unused field to avoid warnings
4 years ago
robloo
d7612fcaba
Small optimization to read property only when needed
4 years ago
robloo
5e525bedf8
Several fixes/improvements for ColorPreviewer
4 years ago
robloo
63d1bdec3c
Add resources to control accent color section size in ColorPreviewer
4 years ago
robloo
4dcf13623d
Make ColorPalettes directory plural
4 years ago
robloo
5e8f0fb701
Add comment explaining rounding value selection
4 years ago
robloo
fe2d51b111
Add SixteenColorPalette
4 years ago
robloo
e0c936dbb4
Add FlatColorPalette
4 years ago
robloo
10bc7b38cb
Rename 'EnumToBooleanConverter' to 'EnumToBoolConverter'
Bool is shorter and is also slightly more commonly used in other converters. Bool matches the type as written in C# as well.
4 years ago
robloo
b8be7ba4cb
Implement SelectedTabIndex in ColorView
4 years ago
robloo
223ef7e4a0
Small improvements
4 years ago
robloo
36225e9132
Use more standard binding in ColorPicker
This doesn't currently work for some reason
4 years ago
robloo
55de1523c4
Support ignoring property changes in derived Color controls
4 years ago
robloo
adfac7b69d
Implement tab selection validation and automatic width
4 years ago
robloo
bd8f7446d5
Implement remaining ColorView properties
4 years ago
robloo
a4ba57c3b8
Implement IsHexInputVisible
4 years ago
robloo
81670fcd3c
Implement IsAlphaVisible and IsComponentTextInputVisible
4 years ago
robloo
5cd0ea6805
Complete initial ColorPicker
4 years ago
robloo
0824c874fc
Add initial ColorPicker control
4 years ago
robloo
a5b3bb9cb6
Implement ColorSlider component value rounding
4 years ago
robloo
12a8ecb923
Implement the hex input TextBox in ColorView
4 years ago
robloo
8ef440ceda
Finish ColorView design/style
4 years ago
robloo
043b56c7da
Remove IsAutoUpdatingEnabled property from ColorSlider
This was unused and is an unnecessary complexity
4 years ago
robloo
36f85325bc
Remove EnumValueEqualsConverter replaced by EnumToBooleanConverter
4 years ago
robloo
4a267b69d6
Set MaxHue of ColorSlider to the same value as ColorSpectrum
4 years ago
robloo
7f45cb8a14
Improve comments
4 years ago
robloo
13b82a0d1d
Implement ColorModel switching in ColorView
4 years ago