Steven Kirk
a400a89003
Handle invalid values in direct property bindings.
Invalid values will be converted to default(TPropertyValue).
11 years ago
Steven Kirk
730bdc88cb
Output XML docs for Perspex.Markup.
11 years ago
Steven Kirk
a47da04a0b
Updated OmniXAML
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
572ecfa521
Added Perspex.Markup to NuGet package.
11 years ago
Steven Kirk
a4ddaccc15
Merge branch 'xaml-binding-datatemplates'
11 years ago
Steven Kirk
df47a491e1
Fixed .sln.
11 years ago
Steven Kirk
2807fa3a9a
Merge branch 'master' into xaml-binding-datatemplates
Conflicts:
samples/XamlTestApplication/Program.cs
11 years ago
Steven Kirk
4f67ed057f
Updated OmniXAML
11 years ago
Steven Kirk
69d8468c61
Retarget OmniXAML to perspex fork.
11 years ago
Steven Kirk
521771d254
Removed unused class/interface.
11 years ago
Steven Kirk
92535c3904
Make TreeDataTemplate work.
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
8139198486
Check property can be written...
...before attempting to do so
11 years ago
Steven Kirk
0703851e02
Remove debug code.
11 years ago
Steven Kirk
c8ee522c49
Setup TreeDataTemplate Content property.
11 years ago
Steven Kirk
14ca308900
Log binding path.
11 years ago
Steven Kirk
9aa3c18c58
Fixed shuffle.
11 years ago
Steven Kirk
a5ec3588c5
Test binding negation in BindingTest.
11 years ago
Steven Kirk
d3e374d0c6
Update OmniXAML
11 years ago
Steven Kirk
ed4f46a6cf
Don't throw when binding produces invalid value.
11 years ago
Steven Kirk
3fee7587bc
Make the shuffle more noticable.
11 years ago
Steven Kirk
3730d6067f
Add workaround for ReactiveCommand.
11 years ago
Steven Kirk
0c837f87a8
Add demo of binding to array index.
Tried to add a button to shuffle ObservableCollection, but Command binding doesn't seem to work.
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
8457645eb4
Implemented OneWayToSource binding.
11 years ago
Steven Kirk
907505f194
Get simple two-way bindings working.
11 years ago
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