Steven Kirk
c0dff57a78
Make SelectedItems bindable.
And to avoid confusion removed SelectedIndexes.
11 years ago
Steven Kirk
05aed57daa
Fix selecting backwards ranges.
11 years ago
Steven Kirk
7d73960ef6
Make selecting ranges work.
11 years ago
Steven Kirk
49e2e3ec86
Fixed problem in toggle mode with single selection.
11 years ago
Steven Kirk
b2d40e77c3
Started implementing multiple selection.
11 years ago
Steven Kirk
7a287782fb
Renamed "selected" style class to ":selected"
11 years ago
Steven Kirk
271f47fb5b
Make SelectionMode flags.
So you can combine behaviours.
11 years ago
Steven Kirk
e93d9d463c
Implement SelectedIndex in terms of SelectedIndexes.
11 years ago
Steven Kirk
e2f7ff8a56
Implement SelectedItem in terms of SelectedItems.
11 years ago
Steven Kirk
7b82df4369
Replaced AutoSelect with SelectionMode.
Added protected multiple selection properties to SelectingItemsControl.
11 years ago
Steven Kirk
0703851e02
Remove debug code.
11 years ago
Steven Kirk
cbfbc52803
Use direct PPs for SelectedIndex/Items.
11 years ago
Steven Kirk
b3af361686
Still trying to get property dependencies working.
SelectedIndex isn't being set.
11 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
e320148952
Removed AdornerTemplate.
Use ITemplate<IControl>.
11 years ago
Steven Kirk
84924dee3c
Added IPanel interface.
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
aa147f0423
More stylecoping.
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
abad671bba
Set TabOnceActiveElement in SelectingItemsControl.
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
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
4e443c87bd
More porting docs etc from ideas branch.
11 years ago
Steven Kirk
ee8c211683
Renamed PerpexProperty coercion as validation.
As it can be used to invalidate a property change by throwing an
exception as well as coerce the value.
11 years ago
Steven Kirk
b740d95e15
Don't try to select items that don't belong to you.
This was breaking DevTools.
11 years ago
Steven Kirk
e3533d720b
Fix ListBox selection.
And add a unit test for it.
11 years ago
Steven Kirk
4f98bb5476
Make changing selecting in item work.
Make SelectingItemsControl listen for IsSelectedChangedEvents from child
items and update its selection accordingly.
11 years ago
Steven Kirk
d6d7de662c
Don't make SelectingItemsControl focusable for now.
12 years ago
Steven Kirk
0e4219ecb9
Set default value for SelectedIndex.
12 years ago
Steven Kirk
fbd33a2163
Ensure IsSelected set on ApplyTemplate.
12 years ago
Steven Kirk
55fbe43214
Fix SelectingItemsControl.CoerceSelectedItem
12 years ago
Steven Kirk
d27205716a
Handle deselecting removed items...
in SelectingItemsControl.
12 years ago
Steven Kirk
5600ee32a4
Handle null Items in SelectingItemsControl.
12 years ago
Steven Kirk
18a976dc55
Added IEnumerable extension methods.
As we're working on a non-generic IEnumerable in ItemsControl related
controls.
12 years ago
Steven Kirk
41e434e13b
Added SelectedItemsControl.SelectedIndex
12 years ago
Steven Kirk
18ae814775
Make SelectingItemsControl abstract.
As it displays nothing by default.
12 years ago
Steven Kirk
30ce103d8d
Scroll list box with selection.
Fixes #33 , however the focus adorner is displayed in the wrong position.
#38 will fix this.
12 years ago
Steven Kirk
5da890fbfb
Don't handle keypresses in TabControl.
12 years ago
Steven Kirk
87a87a4495
Only handle arrow keys!
12 years ago
Steven Kirk
8f46c1360d
Make focus follow listbox selection.
12 years ago
Steven Kirk
c29cac0b9f
Improve directional naviation a bit.
In SelectingItemsControl. Still not completely there as we should do a
visual search in the absence of INavigablePanel (e.g. for Canvas, Grid).
Fixes half of #44 .
12 years ago
Steven Kirk
b369c30a2e
Implemented Tab focus.
Should hopefully be the start of a non-hacky tab focus solution.
12 years ago
Steven Kirk
d25c4e0b4c
Some work on TabControl/TabStrip.
12 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.
12 years ago
Steven Kirk
374d1723a2
Handle dropdown selection.
12 years ago