Steven Kirk
09d0c3ae3e
Refactored style activators.
- Always evaluate the active state from current information, don't rely on subscriptions to fire as the current state may not be up-to-date
- Don't notify the `IStyleActivatorSink` of a change immediately on subscription
4 years ago
Steven Kirk
0119cf1af1
Fix a couple of inheritance bugs.
With associated unit tests.
4 years ago
Steven Kirk
c44e0bda34
Unwrap exceptions before logging.
4 years ago
Steven Kirk
88d59a4ed5
Fix missing logging.
4 years ago
Steven Kirk
f3369cbc35
Remove unused field.
4 years ago
Steven Kirk
2377dca2d1
Tweak naming.
4 years ago
Steven Kirk
a49a01c94b
Fix DataContext notifications.
4 years ago
Steven Kirk
18caac12ca
Don't start values unnecessarily.
4 years ago
Steven Kirk
1e4577fa3f
Don't produce value when reading (Has)Value.
4 years ago
Steven Kirk
fb3e9d71b7
Implemented coercion.
4 years ago
Steven Kirk
483bbd2e26
Refactored inheritance.
To remove `InheritanceFrame` - it was unneeded, we can just point to the nearest ancestor value store with inherited values.
4 years ago
Steven Kirk
72308f1f37
Use custom binary search in ValueStore.
4 years ago
Steven Kirk
79115bd199
Don't add duplicate frames.
4 years ago
Steven Kirk
71785b73d8
Initial refactor of AvaloniaObject value store.
Most (but not all) tests passing, all features mostly implemented exception coercion.
4 years ago
Takoooooo
78a49b3fb3
Fix typo in DataGrid. DataGridComparerSortDesctiption -> DataGridComparerSortDescription
4 years ago
Nikita Tsukanov
fa17ee9bb9
Introduced GtkInteropHelper.RunOnGlibThread, fixed demos
4 years ago
Tim
8fbfde9654
`ComboBoxMinHeight` should be of Type `double`, not `Thickness`
4 years ago
petris
c6e12a6e32
Fix unaligned accesses
4 years ago
Luis von der Eltz
c1b75357f1
Allow to pass custom menu interaction handler in MenuFlyoutPresenter
4 years ago
Steven Kirk
b9998dd483
Don't use TransformedBounds for automation.
4 years ago
Tim
bb4287e22d
fix: RowDesiredWidth was missing the RowHeaderWidth
4 years ago
robloo
0bf3a6d944
Rename `ShowAccentColors` to `IsAccentColorsVisible` and disable drop shadow when false
4 years ago
Nikita Tsukanov
ebf464ad93
Enable compositing renderer by default for desktop platforms
4 years ago
Nikita Tsukanov
551f35a760
Cleanup
4 years ago
Nikita Tsukanov
ecca63949f
Use Blit when available
4 years ago
Luis von der Eltz
4ca4986b4f
rename
4 years ago
Tim
926b365652
Fix: DataGrid Grouping symbol wrong in Fluent Theme
- Expanded icon was vertically flipped.
- ToggleButton :checked means open, :unchecked means closed. The icon reference was corrected here to match this.
4 years ago
Nikita Tsukanov
21ccb8d43a
Fixed animation activation
4 years ago
Steven Kirk
76274f80b3
Added SafeEnumerableList and use in Classes.
Adds a simple copy-on-write list and uses it to store the listeners to `Classes` to prevent problems with re-entrancy.
Fixes #8480
4 years ago
Nikita Tsukanov
70a86fccbf
Fixed initialization order
4 years ago
Nikita Tsukanov
35e18ce765
Fixed yet another invalidation case
4 years ago
Nikita Tsukanov
862b318906
Use dictionaries for storing composition animation infrastructure
4 years ago
Tim
633c479175
Use indicators parent if available to determine the space
We used controls bounds before, which may lead to wrong indicator size if a border is set or the template has elements next to the indicator.
4 years ago
Dan Walmsley
d4ec5474d3
Ensure Window MinHeight/Width is obeyed.
4 years ago
javidsho
65d1471a94
Fix null pointer exception on application exit
4 years ago
Eric M
435419588a
Allow customisation of ProgressBar text format.
4 years ago
Steven Kirk
5da9d528c9
Added missing param docs.
4 years ago
Steven Kirk
78a7257a5a
Don't apply templated parent if already set.
When applying the `TemplatedParent`, don't move into trees that already have the `TemplatedParent` property set - in this case we can assume that the templated parent has already been set for this tree, and it fixes the problem with menus added in the previous commit.
4 years ago
robloo
05f4bcad80
Enable compiled bindings for ColorPicker and ColorView
4 years ago
Takoooooo
8e57d0b7c6
Fix bindings to Types.
4 years ago
Max Katz
34f8f3d556
Fix DataType set on Binding extension + add tests
4 years ago
Max Katz
ff3b23b2d6
Formatting
4 years ago
Max Katz
5d234cd49c
Remove reflection bindings from standard controls
4 years ago
Max Katz
2619ab1759
Fix compiled binding with TemplatedParent relative source
4 years ago
Max Katz
142b878984
Fix special case of compiled binding with Path child
4 years ago
Max Katz
042fd47c1e
Fix ElementName binding inside of control template
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