Steven Kirk
0617aa23a5
Support Replace and Reset in ItemsPresenter.
11 years ago
Steven Kirk
71973cabb1
Fix removing items from ItemsControl.
11 years ago
Steven Kirk
6a005d35c8
Make TreeView selection work etc.
Unfortunately stuff is still broken - I think ItemContainerGenerator
needs a refactor.
11 years ago
Steven Kirk
2615c5373c
Started adding TreeView tests.
11 years ago
Steven Kirk
53926a47bf
Refactored ItemContainerGenerator<T>.
To allow TreeItemContainerGenerator to inherit from it.
11 years ago
Steven Kirk
5b307f653d
Fix spurious selection changes.
In SelectingItemsControl. This was causing TabControls with transitions
to break.
11 years ago
Steven Kirk
5bfa93b747
Renamed Deck -> Carousel.
11 years ago
Steven Kirk
5eeccf0c10
Special case string -> bool conversion.
11 years ago
Steven Kirk
e824458a00
Fix DataContext binding problem with SelectedItems.
This one has to be solved in SelectingItemsControl as the property is
not updated via a binding.
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
34f17ed562
Don't run D2D unit tests in parallel.
11 years ago
Steven Kirk
663e760fda
Throw exception if TopLevel added as child.
Closes #262 .
11 years ago
Nikita Tsukanov
a61fdc86b2
Removed IPlatformThreadingInterface mock since it's broken anyway
11 years ago
Steven Kirk
cf3f64a9d3
Allow identifiers containing numbers.
Closes #258 .
11 years ago
Steven Kirk
6401cec2ef
Make SelectedItems a plain IList
As IList<T> is not covariant.
11 years ago
Steven Kirk
c0dff57a78
Make SelectedItems bindable.
And to avoid confusion removed SelectedIndexes.
11 years ago
Steven Kirk
1ed1d0efb9
Added additional test.
11 years ago
Steven Kirk
7d73960ef6
Make selecting ranges work.
11 years ago
Steven Kirk
49e2e3ec86
Fixed problem in toggle mode with single selection.
11 years ago
Steven Kirk
b2d40e77c3
Started implementing multiple selection.
11 years ago
Steven Kirk
d87bcde7be
Added ResetBehavior to PerspexList.
As sometimes you want to know something is a reset rather than a remove.
11 years ago
Steven Kirk
adede3c171
Don't run input tests in parallel.
11 years ago
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
7a287782fb
Renamed "selected" style class to ":selected"
11 years ago
Steven Kirk
271f47fb5b
Make SelectionMode flags.
So you can combine behaviours.
11 years ago
Steven Kirk
7b82df4369
Replaced AutoSelect with SelectionMode.
Added protected multiple selection properties to SelectingItemsControl.
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