Steven Kirk
bb82a4ade6
Added .ncrunchproject for new test projects.
Currently disabled in ncrunch as there's a dependency between the two
projects and not sure how to get that working with ncrunch.
10 years ago
Steven Kirk
55a99684c7
Handle locales with ',' decimal separator.
Fixes #535 .
10 years ago
Nikita Tsukanov
e14ac5742f
RegisterServices should be called by AppBuilder
10 years ago
Nikita Tsukanov
40b9447bb3
Fixed DesignerAssist and added test for it
10 years ago
Steven Kirk
d79fc6bbd8
Added AppBuilder
Use AppBuilder to configure the Application and make sure that
everything is set up in the correct order.
10 years ago
Steven Kirk
5c33fbc6ee
Reimplemented property validation.
As far as it was in `property-validation-grokys` branch. Things were
messed up on master so had to merge this manually so may be problems.
10 years ago
Steven Kirk
d97c276b52
Added ncrunch project files.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Dan Walmsley
9f9e9920e4
added unit tests to test carousel presenter.
10 years ago
Steven Kirk
d8cf474274
Clear TabOnceActiveElement on removed container.
10 years ago
Steven Kirk
ca301280e8
Correctly clear focus when control removed.
Focus was staying on removed element.
10 years ago
Steven Kirk
139cc9416e
Fix test that was failing in Release mode.
Not sure why this makes it pass, but it does...
10 years ago
Jeremy Koritzinsky
aab4331a52
Changed validation on controls to allow notifications from multiple types of validation and correctly report if it is valid. Changed initalization of validation plugins to nest within each other so there can be multiple active at once.
10 years ago
Jeremy Koritzinsky
da5fd06fcd
Moved validation filtering into ExpressionObserver and out of InstancedBinding, PerspexObject, and the Priority* system. Renamed some methods in this system to be more descriptive.
10 years ago
Steven Kirk
e305ec2f52
Added packages.config for skia render tests.
10 years ago
Nikita Tsukanov
bf25cf4817
Skip tests
10 years ago
Nikita Tsukanov
961b58dbfd
Skip tests blocked by SkiaSharp
10 years ago
Jeremy Koritzinsky
814b6ebac7
Removed now unused test.
10 years ago
Jeremy Koritzinsky
774c6e6fa4
Made validation enable-able during binding construction, similar to WPF. Now validation events are only raised when the validation type is enabled on the property.
10 years ago
Jeremy Koritzinsky
ee486113e5
Finished wiring up validation support. Now exceptions and INotifyDataErrorInfo implementers will set controls into their ":invalid" pseudo-class state.
10 years ago
Steven Kirk
004ed96de5
Prevent nested selection changing parent selection.
Added previously failing
Nested_ListBox_Does_Not_Change_Parent_SelectedIndex test to check it.
10 years ago
Steven Kirk
a2ea7e36e3
Added Carousel.IsVirtualized.
10 years ago
Steven Kirk
3e3e3244e3
Updated SharpDX.
10 years ago
Steven Kirk
4e63eb8f07
Make ContentPresenter update its DataContext.
Previous method introduced in 4241fd8331
caused issue #503 , because ContentPresenter should only use Content as
its DataContext when it is not a control. Take the WPF approach and make
ContentPresenter choose its own DataContext. Fixes #503 .
10 years ago
Steven Kirk
6716cc90ef
Added failing test for #503
10 years ago
Jeremy Koritzinsky
76f5249f59
Created modular validation plugin system instead of being hard-coded to just INotifyDataErrorInfo. Current plugins are for Exception validation and INotifyDataErrorInfo. Currently not in use anywhere.
10 years ago
Steven Kirk
d1fcb2f5a6
Fixed failing tests.
10 years ago
Jeremy Koritzinsky
59b88fe7e9
Added copyright header to some new files.
10 years ago
Jeremy Koritzinsky
f882e14e41
Added support for IPropertyAccessor's to listen for error notifications from a target that implements INotifyDataErrorInfo.
10 years ago
Steven Kirk
f7f4f6492c
Fix #500 .
When updating DataContext, defer changes to SelectedIndex/Items until
after DataContext has finished changing. Use the same method between
BeginInit and EndInit meaning that [DependsOn] is no longer needed.
10 years ago
Steven Kirk
8cccc84609
Added (failing) init test for SelectingItemsControl.
10 years ago
Steven Kirk
4c8384db5f
Failing unit test for issue #500 .
10 years ago
Steven Kirk
f6853de65c
Managed to make test fail.
10 years ago
Steven Kirk
37273c2bce
Forgot to save csproj.
Again.
10 years ago
Steven Kirk
c9df1415bb
Tried to reproduce #499 .
But can't...
10 years ago
Steven Kirk
6a5208621e
Return BindingError from property plugins.
10 years ago
Steven Kirk
3865198be4
Use Logger.Error instead of .Log.
10 years ago
Steven Kirk
c984a504a2
Change the way PriorityValue notifies.
Directly call a Changed method on the PriorityValue owner rather than using an observable.
10 years ago
Steven Kirk
87fa632707
Removed LevelPrecedenceMode.
You should use direct properties if you want Latest mode.
10 years ago
Steven Kirk
1c3b1672b8
Added failing test.
StyleResources cannot currently be found in other style resources
because the style resource binding is evaluated before the style is
attached to the parent. Described in #492 .
10 years ago
Steven Kirk
b63a5b3e7c
WIP
10 years ago
Steven Kirk
3bb9fe0b58
Added BindingError class.
10 years ago
Steven Kirk
70a6b6dcb8
Prevent controls appearing twice in logical tree.
10 years ago
Steven Kirk
b727ad684d
Make DelayedBinding use Initialized event.
10 years ago
Steven Kirk
45b5ec5d8f
Added Control.Initialized.
10 years ago
Steven Kirk
46c93b70bf
Fix layout error.
10 years ago
Steven Kirk
75e13dc02b
Fix arrange size with margins.
Fixes #432 .
10 years ago
Steven Kirk
015054a8fd
Added a pre-process hook to InputManager,
And some documentation.
10 years ago
Steven Kirk
ea6b1d4cfd
Starting removing hard dependency on Serilog.
Instead log through a static Logger, and provide a Serilog consumer for
this.
10 years ago
Steven Kirk
96ab9e62cd
Added attached property support in bindings.
10 years ago