Steven Kirk
24e18d0236
Documentation.
11 years ago
Steven Kirk
19498ab03d
Correctly set TreeView item DataContexts.
Also added a few tests for TreeView.
11 years ago
Steven Kirk
f1ca851833
Fix setting expression value on broken chain.
Closes #254 .
11 years ago
Steven Kirk
98e3d4ba32
Added file missed from last commit.
11 years ago
Steven Kirk
3945d9d075
Make DataTemplate match derived types.
Closes #251 .
11 years ago
Steven Kirk
d1ae3ba50b
Fix ListBox item DataContexts.
11 years ago
Steven Kirk
92e6274ec3
Fixed input hit test Z ordering.
Closes #170 .
11 years ago
Steven Kirk
a400a89003
Handle invalid values in direct property bindings.
Invalid values will be converted to default(TPropertyValue).
11 years ago
Steven Kirk
843eb65dea
Bind DataContext to Parent.DataContext.
Need to special-case binding to DataContext as previously it was trying
to bind to itself. When binding to DataContext, we're binding to the
*parent* DataContext.
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
c9d08fd691
Fix PerspexProperty.IsSet.
11 years ago
Steven Kirk
9d88f91852
Determine binding target at time of bind.
This is needed in order to be able to use bindings as selectors, e.g.
for TreeDataTemplate.ItemsSelector.
11 years ago
Steven Kirk
14ca308900
Log binding path.
11 years ago
Steven Kirk
ed4f46a6cf
Don't throw when binding produces invalid value.
11 years ago
Steven Kirk
1064fbd186
Implement OneTime binding.
11 years ago
Steven Kirk
4f09de4dfe
Started adding XamlBinding unit tests.
11 years ago
Steven Kirk
d100f49ba8
Renamed namespace DataBinding -> Binding.
11 years ago
Steven Kirk
072aa3c96d
Allow ExpressionObserver root to be changed.
11 years ago
Steven Kirk
907505f194
Get simple two-way bindings working.
11 years ago
Steven Kirk
52975c8432
Basic binding using ExpressionObserver.
11 years ago
Steven Kirk
d55e7fa9d0
Search base classes for properties.
11 years ago
Steven Kirk
3cb479769d
Use string XamlBindingDefinition.SourcePropertyPath.
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
0592f3a0f1
Added some StackPanel tests.
11 years ago
Nikita Tsukanov
6859f62d12
Make actual RenderTargetBitmap implement IRenderTarget
11 years ago
Nikita Tsukanov
f4f3d572a6
Renamed IRenderingViewport to IRenderTarget
11 years ago
Nikita Tsukanov
c8e617231c
Moved render-related code from TopLevel to a separate class
(needed for wm stuff)
11 years ago
Steven Kirk
23b72840f3
Fixed ClipToBounds not working.
It was clipping to the wrong bounds.
11 years ago
Steven Kirk
cf3834755d
More ExpressionObserver tests.
11 years ago
Steven Kirk
005cd231cc
Initial implementation of ExpressionObserver.
11 years ago
Steven Kirk
005d95780b
Fixed failing test.
11 years ago
Steven Kirk
f68f24f24a
Fix failing test.
11 years ago
Steven Kirk
559a8c951b
Fix PerspexProperty equality.
11 years ago
Steven Kirk
307433d531
Use this one weird trick to make tests work.
11 years ago
Steven Kirk
b5b750123d
Make VisualParent a direct PerspexProperty.
11 years ago
Steven Kirk
cbfbc52803
Use direct PPs for SelectedIndex/Items.
11 years ago
Steven Kirk
45b8547fcf
Added some more direct PP tests.
11 years ago
Steven Kirk
d3e7a1b730
Don't run XAML tests in parallel.
11 years ago