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
Nelson Carrillo
6ea6afe81d
Fixing popup placement
11 years ago
Steven Kirk
60b6f23aef
Refactored ISelectable behavior into a mixin.
11 years ago
Nelson Carrillo
3ed4cc0192
Moved ProgressBar value calculation to ValueChanged
Moved indicator lookup to OnTemplateApplied
11 years ago
Nelson Carrillo
08ca269a09
Correctly subtracted the minimum from the value and the divisor.
11 years ago
Steven Kirk
a97465b1bd
Test scrollbar auto-hiding.
11 years ago
Nelson Carrillo
e8d5dae0b3
Fixed a bug in ProgressBar
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
Steven Kirk
09ef0309b1
Added validation/coercion to RangeBase properties.
11 years ago
Steven Kirk
570d37509a
Stylecop-ed ProgressBar stuff.
11 years ago
Steven Kirk
f42e89a8a6
Make tooltips show more than once.
11 years ago
Steven Kirk
92c4f502a2
Removed INameScope.
No point having it in there if it's not used.
11 years ago
Steven Kirk
9a9132c42b
Manipulate logical parent thru ISetLogicalParent.
Ported from ideas branch. Also includes beginnings of INameScope
support, though nothing implements this interface yet.
11 years ago
Steven Kirk
05ec12e2cf
Added IControl interface.
11 years ago
Steven Kirk
7775f9f942
Documented Control class.
11 years ago