Steven Kirk
face85f0de
Added AccessText.AccessKey.
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
731169d0d8
Navigate between top-level menus a bit better
If a menu item was open and we navigate to a new one with the arrow
keys, open that menu and select the first item.
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
b740d95e15
Don't try to select items that don't belong to you.
This was breaking DevTools.
11 years ago
Steven Kirk
ff561279be
Use Left and Right arrows to open/close submenus.
11 years ago
Steven Kirk
e3533d720b
Fix ListBox selection.
And add a unit test for it.
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
503034c2c8
Close menu when focus lost.
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
5804ab7118
Select MenuItem on focus.
11 years ago
Steven Kirk
9de4a11e18
Use tab navigation mode of ItemsPresenter
When creating ItemsPresenter's panel
11 years ago
Steven Kirk
05f131595c
Make keyboard navigation handler per-window.
Use the same pattern as AccessKeyHander.
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
e085e56c70
Show access keys on Alt/F10.
11 years ago
Steven Kirk
a143257ced
Stylecop fixes.
11 years ago
Steven Kirk
e04e5cc632
Added ShowAccessKey property to AccessText.
11 years ago
Steven Kirk
c65c9fb7c6
Show access keys in menus.
Currently always shown, whether user pressed alt/f10 or not.
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
88bb6c2c6c
Revert "Updated MenuItem style"
This reverts commit 79e8252886 .
11 years ago
Steven Kirk
79e8252886
Updated MenuItem style
11 years ago
Steven Kirk
d3ebd1fbe3
Correctly close sibling sub-menus.
11 years ago
Steven Kirk
2c066f0f5d
Allow DevTools to inspect popup visual trees.
11 years ago
Steven Kirk
fe9ed13cff
Install StyleCopAnalysers.
And fix all warnings for the Perspex.Animation project.
11 years ago
Steven Kirk
8643a904c4
Close menu when window deactivated.
11 years ago
Steven Kirk
26c3740461
Added comments to explain why MenuItem is broken.
11 years ago
Steven Kirk
31d51123f6
Make Popup children be part of logical tree.
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
0048460b88
Added Popup.PlacementMode.
Hacky: only supports Bottom and Right so far, and doesn't take into
account screen edges etc.
11 years ago
Steven Kirk
51a4868010
More work on Menu.
11 years ago
Steven Kirk
f7d271f846
Something resembling a menu now...
11 years ago
Steven Kirk
5101ddfeec
More work on menu control.
11 years ago
Steven Kirk
919cae67ad
Started implementing Menu control.
11 years ago
Steven Kirk
268b34e4fc
Make TextBlock properties attached properties.
This is how they should've been all along, except PerspexObject.Bind
didn't check that a property was registered before binding to it, so it
went unnoticed.
11 years ago
Steven Kirk
2763e59adb
Use serilog for logging.
11 years ago
Steven Kirk
fceb9b1ba5
Fix ScrollContentPresenter measure/arrange.
11 years ago
Steven Kirk
3aa621cd96
Revert "Removed PerspexReadOnlyListView<T>"
This reverts commit 0359f8c9a3 .
11 years ago
Steven Kirk
0359f8c9a3
Removed PerspexReadOnlyListView<T>
I can't see why it was needed, just assigning the control's logical
child to the presenter's should work? No? Doesn't seem like it breaks
anything....
11 years ago
Steven Kirk
deba950eb2
Make sure a render takes place after layout.
11 years ago
Steven Kirk
af7d46e89e
Documented ToolTip.
11 years ago
Steven Kirk
45c6c9cf02
Fix tooltip sizing.
By fixing TopLevel sizing... Width and Height now work like all other
controls in that they're only set when the window has an explicitly set
size. Don't think SizeToContent is needed? Closes #24 .
11 years ago
Steven Kirk
1662cb6548
Don't show tooltip when mouse has left control.
11 years ago
Steven Kirk
1d8f4714ff
Added basic tooltip control.
Can be attached to any control using an attached property.
11 years ago