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
10 years ago
Steven Kirk
5f0a6c9d72
Use observable to signal update...
...in ExpressionObserver, instead of calling UpdateRoot. This should
avoid a leak.
10 years ago
Steven Kirk
318be5196d
Added some ExpressionObserver lifetime tests.
10 years ago
Steven Kirk
9199bb48ce
Use invariant locale in tests.
Fixes #304 .
10 years ago
Steven Kirk
ceece5802b
Correctly track removal in ControlLocator.
Fixes #323 .
10 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
10 years ago
Steven Kirk
b9992c582c
Added binding ConverterParameter.
Closes #317 .
10 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
Steven Kirk
f1ca851833
Fix setting expression value on broken chain.
Closes #254 .
11 years ago
Steven Kirk
12c1127f06
Check array bounds in expression indexer.
11 years ago
Steven Kirk
43a66901fc
Remove ExpressionValue.
Use PerspexProperty.UnsetValue instead.
11 years ago
Steven Kirk
14ca308900
Log binding path.
11 years ago
Steven Kirk
072aa3c96d
Allow ExpressionObserver root to be changed.
11 years ago
Steven Kirk
d55e7fa9d0
Search base classes for properties.
11 years ago
Steven Kirk
482dfa0174
Handle completed tasks.
11 years ago
Steven Kirk
b252fdaeb1
Implemented scheduling for ExpressionObserver.
11 years ago
Steven Kirk
9b71fc9ce9
Added support for binding to Observables and Tasks
Thread synchronization is not currently implemented. Task tests fail
because of this: putting a Thread.Sleep before the Assert makes them
pass. Need to work out how we're going to do async unit testing.
11 years ago
Steven Kirk
034d3691d0
Add tests for malformed binding expressions.
11 years ago
Steven Kirk
d43a79fab5
Wrote binding expression parser by hand.
Sprache couldn't cope with it as it requires a left-recursive grammar.
11 years ago
Steven Kirk
9d84a21fa8
Improved expression parser tests.
11 years ago
Steven Kirk
0f5af3db63
Use Sprache for parsing expressions.
Use sprache instead of Roslyn for parsing expressions. One test still failing.
11 years ago
Steven Kirk
e3b6ce4186
Add support for indexers in binding expressions.
11 years ago
Steven Kirk
7072f0a66c
Don't allow !ed expressions to be set.
11 years ago
Steven Kirk
774a9c0911
Implemented binding negation.
11 years ago
Steven Kirk
962c1ea01b
Pass SetValue through expression chain.
11 years ago
Steven Kirk
6e264dccc4
Allow setting values via ExpressionObserver.
11 years ago