robloo
b649d9fe52
Comments and formatting
4 years ago
robloo
85a062d30e
Add ToBrushConverter and ToColorConverter
4 years ago
robloo
46e35cad3f
Use CornerRadiusFilterConverter in ColorPreviewer templates
4 years ago
robloo
36ff1b74ac
Improve ColorChanged event implementations
4 years ago
robloo
3d1818cef9
Fix .net standard 2.0 builds
4 years ago
robloo
42b6a2fce1
Add ColorToDisplayNameConverter and ColorToHexConverter
These will be needed for future controls
4 years ago
robloo
f550b8f9e8
Move AccentColorConverter in Avalonia.Controls.Primitives.Converters namespace
This better hides these special-purpose converters
4 years ago
robloo
c3ce137bda
Move AccentColorConverter in Converters directory
4 years ago
robloo
e0bc2e35c5
Add RgbComponent enum and support direct casting with all component enums
4 years ago
robloo
a86e0cc64e
Move ColorPicker theme definitions into theme folders
4 years ago
robloo
c3cdf856a3
Add default themes for ColorSlider and ColorPreviewer
4 years ago
robloo
21190ff39b
Add :dark-selector PseudoClass to ColorSpectrum
This standardizes with ColorSlider (which requires three states) but so far isn't needed in the templates.
4 years ago
robloo
aef0d01225
Reorder properties following Avalonia convention
4 years ago
robloo
d9ef01acfc
Render the ColorSpectrum to physical device pixel resolution
4 years ago
robloo
7cb09a2b77
Follow Avalonia convention
4 years ago
robloo
25a34efd9a
Implement color display name in ColorSpectrum
4 years ago
Benedikt Stebner
005907a93b
More hit testing fixes for embedded content runs
4 years ago
robloo
357eddf5e9
Implement ColorSlider PseudoClasses
4 years ago
robloo
aae4b6708d
Remove Color property from ColorPreviewer
4 years ago
robloo
65e5e580ac
Make ColorSlider fully functional
4 years ago
robloo
1f5e3c0d9d
Move helpers into separate directory
4 years ago
robloo
b6b8e96fd9
Move spectrum enums into ColorSpectrum directory
4 years ago
robloo
e9cb628f82
Improve formatting
4 years ago
robloo
a5b3e85dfc
Simplify default color property values
4 years ago
robloo
ad5249992d
Add initial ColorSlider primitive
4 years ago
robloo
21dd8392bf
Add initial ColorPreviewer primitive
4 years ago
robloo
f63ec5f5a9
Separate color picker control styles
4 years ago
Tako
7c63e1a60b
Fix ContextMenu freeze.
4 years ago
Max Katz
2a5b2cf90f
Use newer GetOldValue method
4 years ago
Dariusz Komosinski
a81a2d908a
Fix double property reads.
4 years ago
Steven Kirk
982e2d5db0
Fix merge error due to changed API.
And moved fields to live with other field.
4 years ago
Benedikt Stebner
aaf04a38da
Fix property GetValue
4 years ago
Benedikt Stebner
32d7293097
Fix GetNextCharacterHit for trailing whitespace
4 years ago
Benedikt Stebner
3e6bc0b48d
Some more hit testing fixes
4 years ago
Dariusz Komosinski
066c81b1ac
Another fix for WeakHashList. Added basic unit tests.
4 years ago
Kevin Ivarsen
30531df327
Disable clipping in DevTools content/padding/margin adorner so that the margin part is visible ( fixes #8025 )
4 years ago
Dariusz Komosinski
c53e5307a0
Fix WeakHashList losing one item when upgrading storage.
4 years ago
Steven Kirk
6df672e4c0
Remove IAvaloniaPropertyVisitor.
It was only used internally in creating `ISetterInstance`s so add a virtual method to `AvaloniaProperty` to do this explicitly without generic virtual methods.
4 years ago
Steven Kirk
fa44075d26
Make utility methods non-virtual.
Not sure why these method were virtual anyway: any customization should be done by overriding the non-generic `CreateItemContainerGenerator` method.
4 years ago
Steven Kirk
4ec36c97e2
Remove generic methods from IDispatcher.
4 years ago
Steven Kirk
7f469752d5
Remove generic methods from IInteractive.
4 years ago
Steven Kirk
f9dbbb3da1
Make UpdateDataValidation non-generic.
4 years ago
Benedikt Stebner
050ac5fbba
Fix line metrics for empty lines that are processed by TextWrapping
4 years ago
Kevin Ivarsen
5bacd91443
Fix #6603 : PInvokeStackImbalance error caused by incorrect signature for WindowsDeleteString function.
When PreserveSig=false, a function that natively returns an HRESULT and has no final [out] parameter should instead be marked as void.
4 years ago
Benedikt Stebner
2902e3d24a
Rework Inlines invalidation
4 years ago
AndrejBunjac
a39de875aa
Added invalidation to LayoutThickness property in Border and ContentPresenter and implemented minor review fixes.
4 years ago
robloo
397fd5068f
Rename 'channel' to 'component'
4 years ago
robloo
a66e15e8a2
Add back PackageId for ColorPicker.csproj
4 years ago
robloo
8453b4a79a
Add AssemblyInfo for ColorPicker.csproj
4 years ago
robloo
60e0d12543
Revert "Use namespaces in XAML"
This reverts commit 9f1833030d .
4 years ago