Steven Kirk
2fa8247f01
Removed MemberSelector.
7 years ago
Steven Kirk
e6be9b7c5a
Renamed IsEnabledCore -> IsEffectivelyEnabled.
I now understand how WPF's `IsEnabledCore` works, and it's not like this. Rename `IsEnabledCore` to `IsEffectivelyEnabled` so that we can add a new `IsEnabledCore` property which works like WPF's.
This also aligns with the existing `IsEffectivelyVisible` property.
7 years ago
Steven Kirk
53b71076d6
DropDown -> ComboBox.
Renamed `DropDown` to `ComboBox` to fit in with WPF/UWP.
8 years ago
Andrey Kunchev
f285c38d27
improve dropdown key up/down and mouse wheel auto selections so they don't go through unselected state
8 years ago
Andrey Kunchev
af83673f91
make DropDown support mouse wheel
8 years ago
Andrey Kunchev
cd7c5eb762
Ensure selected DropDownItem is visible when dropdown is open
8 years ago
Andrey Kunchev
850cbfdbf0
Support out of the box Member Selector in DropDown
8 years ago
Andrey Kunchev
c4ab664833
Use Adorner Focus styling for focused DropDownItem
8 years ago
Andrey Kunchev
59a286ba10
let dropdown support virtualization if needed
8 years ago
Andrey Kunchev
a297f00863
Scroll and focus to selected item when dropdown is shown
8 years ago
Andrey Kunchev
d26d984256
focus dropdown item in more safe manner
8 years ago
Andrey Kunchev
16ebfb5be9
focus DropDown after DropDown popup closed, otherwise focus is unpredicatable
8 years ago
Andrey Kunchev
fa8380d92d
focus first item in DropDown on key up/down
8 years ago
Andrey Kunchev
4a57d4ddd0
fix click on dropdown when dropdown in other popup fixes #2058
8 years ago
CommonGuy
55da255d86
Improve KeyDown behavior in DropDown
9 years ago
Steven Kirk
ef44f2b908
Handle the click that opens a DropDown.
9 years ago
José Pedro
7cccc6bda0
Use nameof where possible.
9 years ago
Steven Kirk
2f48873184
Select dropdown item on focus.
Arrow keys within the dropdown are handled by the keyboard navigation handler, so detect when this focuses a new item and select it.
9 years ago
Jurjen Biewenga
3081a07f1c
Made the requested changes
9 years ago
Steven Kirk
268587c432
Fix DropDown popup opening.
When the `DropDown` control is clicked, toggle the opening of the popup.
Fixes #1169 .
9 years ago
Jurjen Biewenga
4f13d50496
Added initial changes to allow the user to change the selected item while the dropdown is closed but selected and allows the user to open the dropdown by pressing down
9 years ago
Nikita Tsukanov
39d5389b1f
Fixed build issues
9 years ago
Steven Kirk
e894df344c
Added DropDown.MaxDropDownHeight.
Fixes #654 .
10 years ago
Steven Kirk
5cd9b98057
Added ItemsControl.ItemTemplate property.
11 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
11 years ago
Steven Kirk
81065f1d24
Added logical tree attachment events to ILogical.
11 years ago
Steven Kirk
3e3134217c
Fixed name of PointerPressedEventArgs.
11 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
11 years ago
Steven Kirk
adee104ad9
DropDown shouldn't be an IContentControl.
11 years ago
Steven Kirk
d9eee9fa4a
Make SelectionBoxItem a direct property.
11 years ago
Steven Kirk
2c9e1f8f7c
Correctly handle clicks outside Popups.
Set e.Handled = true on click outside Popup which removes the need for
the _closing stuff in DropDown.
11 years ago
Steven Kirk
2b09f5f6d1
Fix DropDown dropping down.
Make clicking on an open DropDown close it, and wire up the ToggleButon.
11 years ago
Steven Kirk
3b5d338ea5
Added DropDownItem.
So that drop down items can be highlighted as they're hovered.
11 years ago
Steven Kirk
59032dcff8
Make DropDown in ControlCatalog display correctly.
11 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
11 years ago
Steven Kirk
16c2242757
Implemented NameScopes
Some tests still failing as controls are only registered with name scope
when attached to a rooted visual tree. Need to work around this by
explicitly registering controls when applying template.
11 years ago
Steven Kirk
d54772033b
Added DropDown theme in XAML.
Something weird is happening where selected items are removed from the
tree somehow.
11 years ago
Steven Kirk
53926a47bf
Refactored ItemContainerGenerator<T>.
To allow TreeItemContainerGenerator to inherit from it.
11 years ago
Steven Kirk
86cfc309a5
Make DropDown selection work again.
11 years ago
Steven Kirk
d143b7fcee
Make initial DropDown selection work
Fixes #110
11 years ago
Steven Kirk
1498213e0c
Make more PPs direct.
11 years ago
Nikita Tsukanov
79f8f76351
ref #198
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
Nikita Tsukanov
f0e154ac90
ModifierKeys are now stored inside events
Ceterum censeo StyleCopum esse delendum
11 years ago
Steven Kirk
52dd3d1b6b
Draw DropDown selected content using VisualBrush
If content is a control. Fixes #87 .
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
c301f8d922
Make DropDown mouse selection work.
11 years ago
Steven Kirk
1008d7ab6f
Handle Enter in DropDown.
11 years ago