Steven Kirk
4d5abf80e7
Added a binding test application.
11 years ago
Steven Kirk
dbc32b17d1
Merge branch 'bindings' into xaml-datatemplates
Conflicts:
samples/XamlTestApplication/ViewModels/MainWindowViewModel.cs
samples/XamlTestApplication/ViewModels/TestItem.cs
samples/XamlTestApplication/Views/MainWindow.paml
src/Markup/Perspex.Markup.Xaml/DataBinding/XamlBinding.cs
src/Markup/Perspex.Markup.Xaml/DataBinding/XamlBindingDefinition.cs
src/Markup/Perspex.Markup.Xaml/MarkupExtensions/BindingExtension.cs
11 years ago
Steven Kirk
82be7441ad
Added ExpressionSubject.
11 years ago
Steven Kirk
52975c8432
Basic binding using ExpressionObserver.
11 years ago
Steven Kirk
19b7fc53da
Merge branch 'bindings' into xaml-datatemplates
11 years ago
Steven Kirk
d55e7fa9d0
Search base classes for properties.
11 years ago
Steven Kirk
f0f22f06ad
Select correct binding mode.
11 years ago
Steven Kirk
3cb479769d
Use string XamlBindingDefinition.SourcePropertyPath.
11 years ago
Steven Kirk
ce920d1d18
Commented out TreeView for now.
11 years ago
Steven Kirk
c050547273
Merge branch 'bindings' into xaml-datatemplates
Conflicts:
samples/XamlTestApplication/Views/MainWindow.paml
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
9404fbdc43
Merge remote-tracking branch 'origin/bindings' into bindings
Conflicts:
src/Markup/Perspex.Markup/Binding/ExpressionNodeBuilder.cs
tests/Perspex.Markup.UnitTests/Binding/ExpressionNodeBuilderTests.cs
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
772937ad15
Change ExpressionValue to struct.
And add some docs.
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
Steven Kirk
5cd27f7e8f
Started implementing TreeDataTemplate.
Binding system needs to be updated first.
11 years ago
Steven Kirk
d581a1785d
Fixed test DataTemplate.
11 years ago
Steven Kirk
1020f8c9b3
Tidied up DataTemplate.
11 years ago
Steven Kirk
a0509caede
Renamed TreeDataTemplate -> FuncTreeDataTemplate.
11 years ago
Steven Kirk
b652138d0d
Fix swap of width/height in D2D Bitmap.
Fixes #218 .
11 years ago
Steven Kirk
b731b339cd
Fixed typo in DrawRectangle.
Closes #222 .
11 years ago
Steven Kirk
454cd679f0
Renamed references to "id" -> "name".
11 years ago
Steven Kirk
9a207b072a
Added missing OmniXAML file.
11 years ago
Steven Kirk
7ae7f56a28
Updated OmniXAML.
11 years ago
Steven Kirk
e56bc47ae7
Fix typo.
11 years ago
Steven Kirk
bd4d76796f
Merge branch 'direct-perspexproperties'
11 years ago
Nikita Tsukanov
7529ab6536
Replaced ITopLevelImpl.SetOwnder by SetInputRoot
11 years ago
Steven Kirk
005d95780b
Fixed failing test.
11 years ago
Steven Kirk
986dc84ed4
Merge branch 'master' into direct-perspexproperties
11 years ago
Steven Kirk
fb9e9f4f10
Updated OmniXAML.
11 years ago
Steven Kirk
f68f24f24a
Fix failing test.
11 years ago
Steven Kirk
1f05f98200
Merge branch 'dependson'
Conflicts:
samples/XamlTestApplication/Views/MainWindow.paml
src/Markup/Perspex.Markup.Xaml/Context/PerspexWiringContext.cs
src/Perspex.SceneGraph/Media/FormattedText.cs
11 years ago
Steven Kirk
d143b7fcee
Make initial DropDown selection work
Fixes #110
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
00613b2d67
Use correct Contract exception.
11 years ago
Steven Kirk
f38aa15886
More direct PPs.
11 years ago
Steven Kirk
1498213e0c
Make more PPs direct.
11 years ago