Steven Kirk
39691aecc3
Simplified TextBox scrolling.
11 years ago
Steven Kirk
542e81d129
Implemented TextBox scrolling.
11 years ago
Steven Kirk
d575dfa773
Moved Perspex <-> D2D conversions to ext. methods.
11 years ago
Steven Kirk
01c7d028d0
Correctly apply nested templates.
When a templated control's template itself contains templated controls,
make sure all of the templates are applied, as the nested templated
control might contain something the top-most templated control is
looking for.
11 years ago
Steven Kirk
00aa02964f
Inplemented double and triple click in TextBox.
Copied a load of stuff from Moonlight regarding finding next/prev word
that I've put in StringUtils.
11 years ago
Steven Kirk
c28c7e6b7a
Removed debug code.
11 years ago
Steven Kirk
43e1e3c168
Fixed final layout problem i'm aware of.
(Currently!)
11 years ago
Steven Kirk
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
11 years ago
Steven Kirk
32587825b3
More stylecop fixes.
11 years ago
Steven Kirk
a833a5e883
Stylecop fixes.
Also added solution-wide stylecop settings.
11 years ago
Steven Kirk
a5a6f094cf
Added keyboard navigation for ListBox.
Need to override it for TreeView.
11 years ago
Steven Kirk
9a1c5825d4
Added ListBox.
And moved all item selecting logic etc in SelectingItemsControl where it
should be.
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
3dbd669f7b
Added Layoutable.ApplyTemplate.
Rather than each different presenter/templated control rolling their
own.
11 years ago
Steven Kirk
76ba899dbd
Make templates etc get applied on measure.
Instead of when iterating visual children. This because everything is
likely to be set up by that point.
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
1a898d83aa
Started adding ScrollViewer.
Currently works so far as to scroll an image in the Images tab of the
test app. Hiding the scrollbars is currently disabled as it requires a
layout pass to be triggered during a layout pass. Need to work out a
way around that...
11 years ago
Steven Kirk
03c3a906e0
...aaannd again.
11 years ago
Steven Kirk
cb86dfde18
Fix initial scrollbar arrange.
11 years ago
Steven Kirk
23a8f9ab5d
Fix scrollbar values.
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
Steven Kirk
f361fe23ce
Implemented basic GridSplitter for DevTools.
12 years ago
Steven Kirk
ec0b43d388
Added Controls.Primitives namespace
For controls that are only supposed to be used as the base for other
controls.
12 years ago