Wiesław Šoltés
37de675f5a
Added PseudoClass for OrientationProperty
10 years ago
Steven Kirk
d25e057ccc
More WIP refactoring properties.
Compiles now but lots of tests failing.
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
4ef9639f3e
Removed LINQ from MeasureOverride.
And removed empty MeasureOverride methods.
10 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
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
a97465b1bd
Test scrollbar auto-hiding.
11 years ago
Steven Kirk
c453ad3b36
Removed Scrollbar binding workaround.
Binding system now handles this. Added unit tests to ensure it works
property.
11 years ago
Steven Kirk
4d56d2a440
Remove ScrollBar pseudoclasses.
11 years ago
Steven Kirk
324785f253
Documented ScrollBar.
11 years ago
Nelson Carrillo
d0fcaf52be
Implemented ProgressBar
11 years ago
Steven Kirk
bf9071dcd0
Fix ScrollBar.Value.
Wasn't being updated inside ListBox and this is why...
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
adb9ce49d2
Make DropDown's dropdown a ListBox.
11 years ago
Steven Kirk
39691aecc3
Simplified TextBox scrolling.
11 years ago
Steven Kirk
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
11 years ago
Steven Kirk
a833a5e883
Stylecop fixes.
Also added solution-wide stylecop settings.
11 years ago
Steven Kirk
1930178de3
Tidied up PseudoClass stuff.
Make it more like AffectsMeasure etc. To do this required a
PerspexProperty.Initialized observable.
11 years ago
Steven Kirk
aaca0a8cb1
Make GetObservable return current value.
11 years ago
Steven Kirk
73ebfc9475
Hide scrollbars on ScrollViewer when not needed.
Also added an image size slider to test.
11 years ago
Steven Kirk
79c071a6d0
Added vertical scrollbar.
STILL VERY HACKY.
11 years ago
Steven Kirk
f99509fc11
Basic implementation of scrollbar.
Horizontal only so far. VERY HACKY.
11 years ago