Steven Kirk
18682a74f7
Use client size for top-level arrange.
Fixes #23 .
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
71ebd527d4
Enable XML documentation.
11 years ago
Steven Kirk
12752f227f
Updated StyleCop.Analysers.
11 years ago
Steven Kirk
d89930e9f0
Show focus adorner when using directional keys.
11 years ago
Steven Kirk
c301f8d922
Make DropDown mouse selection work.
11 years ago
Steven Kirk
d161428f52
Pass navigation method in GotFocus event.
And only focus selectable items when focus comes from the pointer, or
directional keys.
11 years ago
Steven Kirk
1008d7ab6f
Handle Enter in DropDown.
11 years ago
Steven Kirk
e787bf3f4c
Close DropDown on Escape.
11 years ago
Steven Kirk
14c0e17f1b
Display DropDown current selection correctly.
11 years ago
Steven Kirk
2d6769b674
Add key bindings to open dropdown.
11 years ago
Steven Kirk
c274caec94
FIx DropDown focus.
11 years ago
Steven Kirk
65def11dbd
Remove obsolete OnVisualParentChanged.
11 years ago
Steven Kirk
a417490a47
Updated StyleCop.Analyzers.
11 years ago
Steven Kirk
d7c73f6922
Expand TreeViewItems with arrow keys.
11 years ago
Steven Kirk
cb09e555b6
Set TreeView selection on item focus.
11 years ago
Steven Kirk
37eac44910
Started putting directional nav back into TreeView.
11 years ago
Steven Kirk
884c6539ce
Implemented directional navigation.
11 years ago
Steven Kirk
3870c4792f
Refactored tab navigation.
In preparation for directional navigation.
11 years ago
Steven Kirk
7b192505d7
Set TemplatedParent in popups.
Popups that appear in control templates should set the TemplatedParent
property of their child controls.
11 years ago
Steven Kirk
85dfbbb6d5
Moved Popup to Primitives namespace.
11 years ago
Steven Kirk
41244d58d5
Use ItemsPresenter in DropDown template.
Breaks a few things - they need properly fixing.
11 years ago
Steven Kirk
86fedfa945
Make ListBoxItem focusable thus selectable.
11 years ago
Steven Kirk
4e5cee4378
Don't add Panel Logical children twice!
11 years ago
Steven Kirk
a4680f2041
Removed TabControl.SelectedContent.
Not currently needed, as Deck is responsible for displaying the selected
content.
11 years ago
Steven Kirk
f30b1fa0a1
Removed commented-out code.
11 years ago
Steven Kirk
40e1f5161b
Apply TemplatedParent/call ApplyTemplate twice.
The first time before controls are added to the visual tree. This gives
a chance for controls to be reparented to set up the logical tree before
styling is applied. The second time, after styling is applied in order
to apply the templates of nested templated controls.
11 years ago
Steven Kirk
07aa92e1b7
Allow TabControl to reparent children of its Deck.
11 years ago
Steven Kirk
2d6d136418
Moved INamed to Perspex.Styling.
11 years ago
Steven Kirk
c7dc89f06b
Fixed applying control templates.
And added unit tests for it.
11 years ago
Steven Kirk
b05f68eb42
Documented TemplatedControl.
11 years ago
Steven Kirk
46319743af
Remove unnecessary measure/arrange.
11 years ago
Steven Kirk
ab697a24b9
Removed no longer needed collections.
Now that reparenting works correctly.
11 years ago
Steven Kirk
5303eb7cd8
Make all tests pass again.
Menus displaying weirdly though.
11 years ago
Steven Kirk
38e85a3f36
Started reworking reparenting controls.
11 years ago
Steven Kirk
abad671bba
Set TabOnceActiveElement in SelectingItemsControl.
11 years ago
Steven Kirk
12c8d3712d
Make TreeView work again, to an extent.
Still a bit of a hack: needs doing properly at some point.
11 years ago
Steven Kirk
eb6bd28664
Rename TypedItemContainerGenerator
As ItemContainerGenerator<T>.
11 years ago
Steven Kirk
77e81c4360
Make TabControl/Deck work again.
11 years ago
Steven Kirk
3492bd617f
Added SelectingItemsControl.AutoSelect.
11 years ago
Steven Kirk
6af31ecf43
Use modern Items property changed notification.
11 years ago
Steven Kirk
3010bc76fb
Use IItemContainerGenerator interface.
Instead of ItemContainerGenerator class.
11 years ago
Steven Kirk
ff331693f0
Started refactoring SelectingItemsControl.
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
ef50e97a2b
Added more ItemsPresenter tests.
Some of failing because of the way ItemContainterGenerator currently
works. Needs to be fixed.
11 years ago
Steven Kirk
362abd481c
Documented ItemsPresenter.
And tidied up a couple of things.
11 years ago
Steven Kirk
696b016cf5
Don't explicitly set ItemsControl panel orientation.
That way, can be overridden in styles and thus doesn't need to be
overridden in TabStrip.
11 years ago
Steven Kirk
c1ba7cc526
Use interfaces in templates.
11 years ago
Steven Kirk
c0fc38358f
Refactored templates a bit.
Added interfaces, moved them to Controls.Templates namespace and added
base classes for common Func<> templates.
11 years ago
Steven Kirk
1b2f1c41a5
StyleCop'ed ProgressBar.
11 years ago