Steven Kirk
3efc8e8920
Improved tab focus handling a bit.
11 years ago
Steven Kirk
6fa126f827
Show keyboard focus adorner.
11 years ago
Steven Kirk
783211c964
Added Visual.ZIndex.
And set ZIndex of adorner layer to top-most.
11 years ago
Steven Kirk
fcb746a1c4
Initial implementation of adorners.
Adorn elements when moused over in DevTools. Still a fair few things
missing including:
- Need to track position of adorned elements and move the adorner if
they move.
- Adorner is shown beneath AdornerDecorator contents. Need to implement
Z-index to allow it to be shown above.
11 years ago
Steven Kirk
c27ddbb17c
Removed ActualSize property - use Bounds instead.
11 years ago
Steven Kirk
5bcd8ecd91
Added Padding to TemplatedControl.
11 years ago
Steven Kirk
ab916df3dc
Fix dropdown open/close behavior.
Now that new eventing stuff is in place.
Also fix bug with AddClassHandler where it was triyng to call every
object irregardless of whether it was the correct type.
11 years ago
Steven Kirk
78901c776e
Make class handlers work again.
11 years ago
Steven Kirk
aa63b5fa15
Started refactoring events.
Tunnelled and bubbling events can now be represented by a single
RoutedEvent. Next need to implement 'handledEventsToo'.
11 years ago
Steven Kirk
5a1aca2876
Make template find methods to extension class.
11 years ago
Steven Kirk
d25c4e0b4c
Some work on TabControl/TabStrip.
11 years ago
Steven Kirk
2417ac1077
Trying to sort out logical tree for ItemsControls.
Not yet complete.
This reverts commit 7a55e20f98 .
The reason that searching for template controls needs to search nested
templates is because e.g. an ItemsPresenter may be nested inside a
ScrollViewer.
11 years ago
Steven Kirk
b28b5e5a23
Tidied up Presenter/TemplatedParent logic a bit.
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
b42d472b65
Added class RoutedEvent handlers.
11 years ago
Steven Kirk
374d1723a2
Handle dropdown selection.
11 years ago
Steven Kirk
adb9ce49d2
Make DropDown's dropdown a ListBox.
11 years ago
Steven Kirk
fc5ff22d8e
Search logical tree for DataTemplates.
11 years ago
Steven Kirk
23c4a9a87f
Moved some more properties out of Control.
Border and Foreground properties didn't make sense there.
11 years ago
Steven Kirk
2c1d2cb7a8
Display logical tree in DevTools.
11 years ago
Steven Kirk
9a994e582c
Moved VisualTree extensions into own namespace.
So that they don't pollute the whole Perspex namespace - you now need to
"opt-in" to the visual tree.
11 years ago
Steven Kirk
a9a569557b
Moved some properties around.
- Moved Background out of Control. Fixes #14 .
- Added Font properties to TemplatedControl.
11 years ago
Steven Kirk
cf959fd8eb
Added RadioButton control.
11 years ago
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