Steven Kirk
8233f4df18
Support default binding mode on direct properties.
10 years ago
Steven Kirk
2577855b09
Correctly resolve attached properties.
Design.Width/Height was getting written to Width/Height. Should fix
#428 .
10 years ago
Steven Kirk
a03dad9bab
Removed a bunch of unused members/classes.
10 years ago
Steven Kirk
e096c849d9
Updated NuGet packages.
Closes #395 .
10 years ago
Steven Kirk
e5f9b37b1f
Removed commented-out tests.
They have been moved to other files.
10 years ago
Steven Kirk
df7b5a4ac9
Test attached property validation.
10 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
10 years ago
Steven Kirk
89dc27f276
All tests now passing.
10 years ago
Steven Kirk
d25e057ccc
More WIP refactoring properties.
Compiles now but lots of tests failing.
10 years ago
Steven Kirk
03e2ff8784
WIP: Splitting PerspexProperty up
10 years ago
Steven Kirk
e08b9e3e4b
Removed PerspexObject.BindTwoWay.
Instead use subjects and Bind.
10 years ago
Steven Kirk
1841e7ad7a
Start allowing Setters to contain bindings.
This is needed so that things like the following can be done:
<TreeView>
<TreeView.Styles>
<Style Selector="TreeViewItem">
<Setter Property="IsExpanded" Value="{Binding IsExpanded}"/>
</Style>
</TreeView.Styles>
<TreeView>
(At the moment we have TreeDataTemplate.IsExpanded but this isn't good
enough: it only supports setting IsExpanded on creation of the item with
no binding.)
With this commit, setters can now contain bindings, but they aren't yet
applied correctly. As part of this commit, classes related to binding
have been moved to the Perspex.Data namespace.
10 years ago
Steven Kirk
36543720ed
Added IPerspexObject.GetSubject extension method.
10 years ago
Steven Kirk
14507beb41
Log invalid binding values in PriorityValue.
10 years ago
Steven Kirk
9e8fec942e
Log invalid binding values in PriorityValue.
10 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
10 years ago
Nikita Tsukanov
64ed815f4c
Added WeakSubscriptionManager
11 years ago
Steven Kirk
6834f12170
Fix attached PerspexProperties.
Make sure notifications and validation are shared.
11 years ago
Steven Kirk
20436d95de
Correctly implement finding property by name.
11 years ago
Steven Kirk
6bd5f85d4d
Update Owner when AddOwnering properties.
11 years ago
Steven Kirk
952e4a99f7
Created PerspexPropertyRegistry.
And move registration of properties, finding properties etc here.
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
d87bcde7be
Added ResetBehavior to PerspexList.
As sometimes you want to know something is a reset rather than a remove.
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
c9d08fd691
Fix PerspexProperty.IsSet.
11 years ago
Steven Kirk
ed4f46a6cf
Don't throw when binding produces invalid value.
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
45b8547fcf
Added some more direct PP tests.
11 years ago
Steven Kirk
133dd7aa80
Enable AddOwner for direct PerspexProperties.
11 years ago
Steven Kirk
247831a6c8
Implemented direct PersexProperties.
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
11 years ago
Steven Kirk
cc1c2c0313
Fixes #147 .
11 years ago
Steven Kirk
91dda4c2d0
Handle attached properties in PerspexPropertyConverter.
11 years ago
Steven Kirk
ba95d1f35a
Fix intermittent Perspex.Base.UnitTests failures.
11 years ago
Steven Kirk
7e2a28c91f
Initial implementation of PerspexPropertyConverter.
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
f071a3d06b
Removed GlobalSuppressions.
11 years ago
Steven Kirk
2e56c951d5
Removed StyleCop.Analysers.
11 years ago
Steven Kirk
ee814028c5
File missed from last commit.
11 years ago
Steven Kirk
b036be75ee
Added PerspexDictionary.
11 years ago
Steven Kirk
d11d779414
Trying to fix capitalization of tests and docs AGAIN.
11 years ago
Steven Kirk
1a2fba4798
Revert "Fixed casing of Docs and Tests directories."
This reverts commit 845b28a2c2 .
11 years ago
Steven Kirk
845b28a2c2
Fixed casing of Docs and Tests directories.
11 years ago