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
Steven Kirk
cf3834755d
More ExpressionObserver tests.
11 years ago
Steven Kirk
005cd231cc
Initial implementation of ExpressionObserver.
11 years ago