Jeremy Koritzinsky
814b6ebac7
Removed now unused test.
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
b63a5b3e7c
WIP
10 years ago
Steven Kirk
96ab9e62cd
Added attached property support in bindings.
10 years ago
Steven Kirk
93884ea063
Added test for issue 284.
Moved NotifyingBase to Perspex.UnitTests in order to do this.
10 years ago
Steven Kirk
444b806eda
Changes made my NuGet.
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
3d271cd020
Started implementing weak bindings.
Tests currently failing as WeakSubscriptionManager doesn't support
unsubscribing yet.
10 years ago
Steven Kirk
d87f585ead
Fixed changes affected by last commit.
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
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
Steven Kirk
127133eb89
Added enum conversions to DefaultValueConverter.
10 years ago
danwalmsley
8c7412232c
Seperated testing of null and empty string triggering PropertyChangedEvent.
10 years ago
danwalmsley
ec9da47d6a
supporting null or string.empty to trigger property notifications.
10 years ago
Steven Kirk
a03dad9bab
Removed a bunch of unused members/classes.
10 years ago
Steven Kirk
2df9a0d9f4
Forgot to save .csprojs.
10 years ago
Steven Kirk
eec9a1f44a
Added shared TestRoot class.
And use it in every unit test project except SceneGraph as that one is
different.
10 years ago
Steven Kirk
e096c849d9
Updated NuGet packages.
Closes #395 .
10 years ago
Steven Kirk
3fde7f979c
Added VisualExtensions.PointToClient.
In addition moved PointToScreen to VisualExtensions, and renamed
IRenderRoot.TranslatePointToScreen to IRenderRoot.PointToScreen.
10 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
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
9199bb48ce
Use invariant locale in tests.
Fixes #304 .
11 years ago
Steven Kirk
ceece5802b
Correctly track removal in ControlLocator.
Fixes #323 .
11 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
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
6fd2ec36a2
Fixed directory name/namespace in tests.
To make it same as the namespace being tested.
11 years ago
Steven Kirk
321bc8c001
Add more conversions to DefaultValueConverter.
11 years ago
Steven Kirk
d9c5a69c37
Fix test in Release mode.
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
3427b7655b
Added PerspexProperty plugin to ExpressionObserver.
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
Steven Kirk
5eeccf0c10
Special case string -> bool conversion.
11 years ago
Steven Kirk
d2cc993a3e
Fixed DataContext binding problem.
Described by XamlBindingTest.Should_Not_Write_To_Old_DataContext.
Problem still remains with ListBox.SelectedItems however, that's going
to require something more.
11 years ago
Steven Kirk
16825ac45e
Handle null and UnsetValue in ExpressionSubject.
11 years ago
Steven Kirk
62b8c5a40c
Added default type converter for bindings.
To convert between basic types. Closes #256 . Closes #270 .
11 years ago
Steven Kirk
cf3f64a9d3
Allow identifiers containing numbers.
Closes #258 .
11 years ago