Steven Kirk
a899185afb
Update data validation from EffectiveValue.
Requires `ValueEntry`/`BaseValueEntry` to be available to `EffectiveValue<T>`.
Also change the tests to only test values coming back from the model in the style binding tests, as they don't work when setting local values currently. This will be fixed later.
4 years ago
Steven Kirk
7b2a659725
Added IValueEntry.GetDataValidationState.
Implemented only on `BindingEntryBase` as only bindings can supply data validation state.
4 years ago
Steven Kirk
23267b7967
Added additional failing tests.
4 years ago
Steven Kirk
172a75e438
Support data validation on style bindings.
4 years ago
Steven Kirk
98fa10416f
Use same logic for typed and untyped observers.
However we still need to split the observers into two classes because otherwise we can't implement both `IObservable<T>` and `IObservable<object?>` on the same object.
4 years ago
Steven Kirk
d787a72f7f
Initial impl of data validation for styled properties.
Currently only local value bindings implemented.
4 years ago
Steven Kirk
eabc9493fa
Added tests for styled property data validation.
4 years ago
Steven Kirk
688dbc4fdc
Moved EnableDataValdiation to AvaloniaPropertyMetadata
Support data validation in StyledProperty bindings
Co-Authored-By: Tom Edwards <109803929+tomenscape@users.noreply.github.com>
4 years ago
Max Katz
3e3dbb1d3d
Merge pull request #10285 from AvaloniaUI/fixes/virtualization-fixes
List virtualization fixes
4 years ago
Max Katz
083fbfd643
Merge branch 'master' into fixes/virtualization-fixes
4 years ago
Max Katz
bda1a2fc1c
Merge pull request #10390 from MrJul/skia-nullable
Nullable annotations for Avalonia.Skia
4 years ago
Max Katz
12c86cf9e0
Merge branch 'master' into skia-nullable
4 years ago
Max Katz
4498604de5
Merge pull request #10395 from robloo/treeviewitem-setcurrentvalue
Use SetCurrentValue() in TreeViewItem
4 years ago
robloo
f25e0b3d02
Use SetCurrentValue() in TreeViewItem
4 years ago
Julien Lebosquain
dc53c3ee15
Nullable annotations for Avalonia.Skia
4 years ago
Max Katz
c6009b4b7f
Merge pull request #10381 from Gillibald/fixes/selectableTxtBlockScroll
Fix SelectableTextBlock ScrollViewer selection
4 years ago
Max Katz
9cf3875fbd
Merge branch 'master' into fixes/selectableTxtBlockScroll
4 years ago
Benedikt Stebner
7cc5e9bbb4
Fix a copy paste error so mouse movements are properly recognized if the width is smaller than the height.
4 years ago
Max Katz
5e296eefd9
Merge pull request #10244 from Enscape/feature/avaloniaproperty-analyzer
`AvaloniaProperty` analyzer
4 years ago
Tom Edwards
6584bac030
Merge branch 'master' into feature/avaloniaproperty-analyzer
4 years ago
Max Katz
e7e04a067f
Merge pull request #10190 from workgroupengineering/fixes/Warnings/Nullable/iOS
fix: iOS Nullable
4 years ago
Max Katz
d047e21828
Merge branch 'master' into fixes/Warnings/Nullable/iOS
4 years ago
Max Katz
89c8efed7a
Merge pull request #10372 from MrJul/opengl-warning-fixes
Remove duplicate OpenGL members
4 years ago
Max Katz
3e31b549cf
Merge branch 'master' into opengl-warning-fixes
4 years ago
Max Katz
77f27acaf5
Merge pull request #10369 from MarchingCube/fix-dev-tools
Fix alignment helper not working and missing icon for clear button.
4 years ago
Max Katz
2f6b4999d2
Merge branch 'master' into fix-dev-tools
4 years ago
Max Katz
934aab1647
Merge pull request #10362 from AvaloniaUI/fixes/property-changed-thread-dispatch
Automatically dispatch PropertyChanged notification to the UI thread
4 years ago
Max Katz
e5f8f47cf2
Merge branch 'master' into fixes/property-changed-thread-dispatch
4 years ago
Max Katz
6a1944511f
Merge pull request #10361 from timunie/fix/RelativePanelIssue
Update Measure and Layout if a child of RelativePanel updates it's postion
4 years ago
Max Katz
ed1f2d4679
Merge branch 'master' into fix/RelativePanelIssue
4 years ago
Max Katz
4bf0d01428
Merge branch 'master' into opengl-warning-fixes
4 years ago
Max Katz
87e7f46a97
Merge pull request #10373 from AvaloniaUI/fixes/directproperty-change-api-tweaks
Tweak API for raising direct property changes.
4 years ago
Steven Kirk
915a605cf7
Tweak API for raising direct property changes.
- Make `SetAndRaise` accept a `DirectPropertyBase` instead of an `AvaloniaProperty`: only direct properties can be changed by this method
- Remove `priority` from `RaisePropertyChanged`: direct property changes are always with `LocalValue` priority
- Remove `Optional` and `BindingValue` wrappers from `RaisePropertyChanged`: concrete values must always be supplied
4 years ago
Max Katz
c25c8e43d3
Merge branch 'master' into fix-dev-tools
4 years ago
Max Katz
6de05e1e71
Merge branch 'master' into fix/RelativePanelIssue
4 years ago
Steven Kirk
ca806da97c
Merge pull request #10339 from AvaloniaUI/slider-automationPeer
Add SliderAutomationPeer
4 years ago
Julien Lebosquain
503b46f492
Remove duplicate OpenGL members
4 years ago
Steven Kirk
1895e25c3e
Merge branch 'master' into slider-automationPeer
4 years ago
Max Katz
091b693e95
Merge pull request #10357 from AvaloniaUI/fixes/adorner-idclip
Respect AdornerLayer.IsClipEnabled
4 years ago
Max Katz
f92a7ab1be
Merge branch 'master' into fixes/adorner-idclip
4 years ago
Dariusz Komosinski
4c36520ed6
Fix alignment helper not working and missing icon for clear button.
4 years ago
Dariusz Komosiński
7dbf33e043
Merge pull request #10334 from AvaloniaUI/fixes/ExposePreviousMeasureArrange
Layoutable make PreviousMeasure and PreviousArrange properties public
4 years ago
Dariusz Komosiński
f4a68d4a33
Merge branch 'master' into fixes/ExposePreviousMeasureArrange
4 years ago
Dariusz Komosinski
81f6f65c26
Implement LayoutInformation.
4 years ago
Giuseppe Lippolis
80dc4dd0b7
fix: iOS Nullable
4 years ago
Nikita Tsukanov
8280b83e95
Automatically dispatch PropertyChanged notification to the UI thread
4 years ago
Tim
9fc9a32f22
Update Measure and Layout if a child of RelativePanel updates it's
position.
4 years ago
Benedikt Stebner
da1ef6937b
Merge branch 'master' into fixes/adorner-idclip
4 years ago
Max Katz
5a86bb2f2f
Merge pull request #10343 from AvaloniaUI/storage-provider-fixes
Browser backend initialization fix and file picker updates
4 years ago
Nikita Tsukanov
95b6343f8f
Respect AdornerLayer.IsClipEnabled
4 years ago