Steven Kirk
be8e650184
Fix non-compiling tests.
10 years ago
Steven Kirk
a72c3e46bf
Moved ILogical to Perspex.LogicalTree.
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
30a756fb83
Refactored binding somewhat.
- Simplified PerpsexObject interface to a simplified single interface,
IPerspexObject
- Moved GetObservable etc to extension method
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
10 years ago
Steven Kirk
5d2658d856
Make IStyleable.Classes an IPerspexReadOnlyList.
So we can mock it.
10 years ago
Steven Kirk
43a66901fc
Remove ExpressionValue.
Use PerspexProperty.UnsetValue instead.
11 years ago
Steven Kirk
4f09de4dfe
Started adding XamlBinding unit tests.
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
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
Steven Kirk
e3620c3139
Use interfaces in page transitions.
11 years ago
Steven Kirk
eabf674027
Move more stuff from Control to IControl.
To do this, added the PropertyBag interfaces from ideas branch.
11 years ago
Steven Kirk
16aa4f66cc
Merge branch 'propertyequals-selector' into menu
Conflicts:
Perspex.Styling/Selectors.cs
11 years ago
Steven Kirk
768718e43f
Started optimizing selectors.
11 years ago
Steven Kirk
e7651dfcf2
Use async in selector tests.
11 years ago
Steven Kirk
ba8552cb81
Renamed Id to Name.
No reason to be different for the sake of it.
11 years ago
Steven Kirk
9b59a954b2
Added IStyleable.StyleKey.
Most controls want to be styled based on their type, however windows
derived from Window will usually want to be styled as Window. Added an
IStyleable.StyleKey property to select the type that a control is styled
on.
11 years ago
Steven Kirk
f013760ce5
Use consistent naming in base collections.
11 years ago
Steven Kirk
a4bf79b7cc
Moved tests to Tests subdir.
11 years ago
Steven Kirk
1a3a78847b
Converted tests to run with xUnit.
11 years ago
Steven Kirk
09c1f41cd4
Reinstate Descendent selector tests.
Now we have logical tree back.
11 years ago
Steven Kirk
1774efdb3e
Assert inconclusive for unimplemented features.
11 years ago
Steven Kirk
3f24d2f6ef
Everything compiling now.
But not working, obviously.
12 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
712a0807f9
Fixed failing tests.
12 years ago
Steven Kirk
97052d58ae
Tidying up tests.
12 years ago
Steven Kirk
0ec3641fb7
More template/descendent selector tests.
12 years ago
Steven Kirk
afdc1e0c42
Initial implementation of Descendent selector.
12 years ago
Steven Kirk
39bbe8464f
Descendent selector WIP.
12 years ago