Steven Kirk
|
ff331693f0
|
Started refactoring SelectingItemsControl.
|
11 years ago |
Steven Kirk
|
60b6f23aef
|
Refactored ISelectable behavior into a mixin.
|
11 years ago |
Steven Kirk
|
6dd6047750
|
Don't open submenu with no items.
|
11 years ago |
Steven Kirk
|
80064e8712
|
More work on Menu.
|
11 years ago |
Steven Kirk
|
88ba93ff7a
|
Handle the AccessKeyPressed event.
|
11 years ago |
Steven Kirk
|
018d99d91e
|
Use a different approach to access keys in menu.
Create a MenuItemAccessKeyHandler that handles the plain keys without
alt, and inject it into the submenu popups.
|
11 years ago |
Steven Kirk
|
693140ba8b
|
Don't open submenu when there is none.
|
11 years ago |
Steven Kirk
|
eb9597104f
|
Fix default button press.
It was being invoked when enter pressed on menu item.
|
11 years ago |
Steven Kirk
|
8e59986629
|
Reinstated timer for opening submenus.
|
11 years ago |
Steven Kirk
|
576ee1500d
|
Added access key support to AccessKeyHandler.
|
11 years ago |
Steven Kirk
|
6d670d654c
|
Started adding access key support to menus.
Kinda hacky - this probably needs to be refactored into an access key
manager like in WPF.
|
11 years ago |
Steven Kirk
|
4ff5afad9e
|
Handle Enter key in menus.
|
11 years ago |
Steven Kirk
|
a40e4963b6
|
Naming/doc adjustments.
|
11 years ago |
Steven Kirk
|
84c68c200d
|
Added a AddClassHandler<TTarget> extension method.
For PerspexProperties, similar to RoutedEvent.AddClassHandler<TTarget>.
|
11 years ago |
Steven Kirk
|
15b31023df
|
Bit more work on menu key stuff.
|
11 years ago |
Steven Kirk
|
ff561279be
|
Use Left and Right arrows to open/close submenus.
|
11 years ago |
Steven Kirk
|
4eedb73dd0
|
Make MenuItem selected when submenu opens.
|
11 years ago |
Steven Kirk
|
5227f9a43d
|
Make arrow keys work in menu (sorta).
|
11 years ago |
Steven Kirk
|
e5feeb3fc1
|
Focus first item when menu opened by keyboard.
|
11 years ago |
Steven Kirk
|
5804ab7118
|
Select MenuItem on focus.
|
11 years ago |
Steven Kirk
|
5c32b5cc42
|
Close menu on escape key.
|
11 years ago |
Steven Kirk
|
43e80392df
|
Started adding keyboard accessibility to Menu.
Still quite a lot to do.
|
11 years ago |
Steven Kirk
|
fef04a5f5d
|
Implemented Menus a bit better.
Now appear correctly in logical tree and use general-purpose mechanisms
rather than direct communication between MenuItems.
|
11 years ago |
Steven Kirk
|
1eb62cf4dc
|
Implement click on MenuItem.
|
11 years ago |
Steven Kirk
|
d3ebd1fbe3
|
Correctly close sibling sub-menus.
|
11 years ago |
Steven Kirk
|
26c3740461
|
Added comments to explain why MenuItem is broken.
|
11 years ago |
Steven Kirk
|
e1442af783
|
Try to make only 1 submenu at a time be opened.
Doesn't work as there is currently no logical tree link between
MenuItems as they're in Popups. Need to fix this first,
|
11 years ago |
Steven Kirk
|
a90a027b53
|
Close menu when clicked outside.
|
11 years ago |
Steven Kirk
|
51a4868010
|
More work on Menu.
|
11 years ago |
Steven Kirk
|
5101ddfeec
|
More work on menu control.
|
11 years ago |
Steven Kirk
|
919cae67ad
|
Started implementing Menu control.
|
11 years ago |