Jeremy Koritzinsky
|
287cc3c22e
|
Fixes failing tests for when an ExpressionSubject/ExpressionObserver is never subscribed to.
|
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 |
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 |
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 |
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
|
6a5208621e
|
Return BindingError from property plugins.
|
10 years ago |
Steven Kirk
|
3865198be4
|
Use Logger.Error instead of .Log.
|
10 years ago |
Steven Kirk
|
3bf4182007
|
Log binding errors.
|
10 years ago |
Steven Kirk
|
96ab9e62cd
|
Added attached property support in bindings.
|
10 years ago |
Steven Kirk
|
886fbb5458
|
Make ExpressionObserver accept a priority for sets.
This makes auto-expanding the treeview in DevTools work again.
|
10 years ago |
Steven Kirk
|
fbe681c925
|
Use weak events for indexer subscriptions.
|
10 years ago |
Steven Kirk
|
4057670f43
|
Ensure that PerspexObject bindings are unsubbed.
|
10 years ago |
Steven Kirk
|
7b9a6f29c9
|
Added GetWeakObservable().
And use in in bindings.
|
10 years ago |
Steven Kirk
|
f57b3c044b
|
Added ability to unsubscribe from weak events.
|
10 years ago |
Steven Kirk
|
3d271cd020
|
Started implementing weak bindings.
Tests currently failing as WeakSubscriptionManager doesn't support
unsubscribing yet.
|
10 years ago |
Steven Kirk
|
6b99bcf30b
|
Use LastOrDefaultAsync for completion.
|
10 years ago |
Steven Kirk
|
45207dd7c6
|
Make ExpressionObserver complete...
When rootObservable or _update completes.
|
10 years ago |
Jeremy Koritzinsky
|
069e6d9aca
|
Removed TODO comment.
|
10 years ago |
Jeremy Koritzinsky
|
7baf8ba615
|
Changed argument parser to parse everything as strings and refactored the IndexerNode.GetValue to special case places where we can check validity (and multidimensional arrays since they don't work like everything else). Removed LiteralParser since it isn't used by anything any more.
|
10 years ago |
Jeremy Koritzinsky
|
6783fd21e0
|
Fixed failing tests.
|
10 years ago |
Jeremy Koritzinsky
|
8c6c1ffaea
|
Added unit tests for parsing floating point indexers and changed LiteralParser to support it.
|
10 years ago |
Jeremy Koritzinsky
|
5ed27d36d3
|
Added code for listening for indexer updates via INotifyPropertyChanged.
|
10 years ago |
Jeremy Koritzinsky
|
74cea95956
|
Can now bind to a non-IList/Array indexer (with any parameter type convertible via TypeUtilities).
|
10 years ago |
Steven Kirk
|
8b9693d996
|
Don't throw in LogicalNotNode.SetValue.
Instead return false to indicate the write failed.
|
10 years ago |
danwalmsley
|
ec9da47d6a
|
supporting null or string.empty to trigger property notifications.
|
10 years ago |
Steven Kirk
|
ffbd694bf7
|
Implemented Binding.FallbackValue.
Closes #238.
|
10 years ago |
Wiesław Šoltés
|
9b4ddce3b5
|
Fixed failing tests
|
11 years ago |
Wiesław Šoltés
|
490d19f5ca
|
Fixes issue #382
|
11 years ago |
Steven Kirk
|
23cc9a2ff4
|
Allow binding to element without path.
Closes #365.
|
11 years ago |
Steven Kirk
|
5f0a6c9d72
|
Use observable to signal update...
...in ExpressionObserver, instead of calling UpdateRoot. This should
avoid a leak.
|
11 years ago |
Steven Kirk
|
318be5196d
|
Added some ExpressionObserver lifetime tests.
|
11 years ago |
Steven Kirk
|
8fb9c5c8e7
|
Fixed problem with binding DataContext.
Bindings such as <Foo DataContext="{Binding Bar}"/> were not working.
|
11 years ago |
Steven Kirk
|
67835cc09b
|
Applied a bunch of resharper suggestions.
|
11 years ago |
Steven Kirk
|
ca4c21256a
|
Fixed some warnings.
|
11 years ago |
Steven Kirk
|
b9992c582c
|
Added binding ConverterParameter.
Closes #317.
|
11 years ago |
Steven Kirk
|
7865743819
|
Added ElementName bindings.
|
11 years ago |
Steven Kirk
|
41cb6b68b6
|
Moved ControlLocator out of Data namespace.
|
11 years ago |
Steven Kirk
|
554383b61d
|
Added ControlLocator.
To track named controls relative to another control.
|
11 years ago |
Steven Kirk
|
af79e21fde
|
Added Menu XAML styles.
|
11 years ago |
Steven Kirk
|
d54772033b
|
Added DropDown theme in XAML.
Something weird is happening where selected items are removed from the
tree somehow.
|
11 years ago |
Steven Kirk
|
7734f2bb52
|
Fix assorted bugs.
|
11 years ago |
Steven Kirk
|
3427b7655b
|
Added PerspexProperty plugin to ExpressionObserver.
|
11 years ago |
Steven Kirk
|
06f59e57f4
|
Started adding an ExpressionObserver plugin system.
So that we can handle PerspexObjects etc in an extensible fashion.
|
11 years ago |
Steven Kirk
|
e301e56a9d
|
Start making Converters work.
When passed to Binding. Found another problem with OmniXAML which means
we can't continue along this road: OmniXAML issue #50.
|
11 years ago |
Steven Kirk
|
b230c3b3f3
|
Renamed XamlBinding -> Binding
Had to also rename enclosing namespace from Binding to Data as classes
with same name as a namespace cause problems.
|
11 years ago |