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
Steven Kirk
7f608ffa6c
Fixed failing tests.
11 years ago
Steven Kirk
ba8552cb81
Renamed Id to Name.
No reason to be different for the sake of it.
11 years ago
Steven Kirk
04673d539f
Fix TabControl logical parent.
11 years ago
Steven Kirk
d6d7de662c
Don't make SelectingItemsControl focusable for now.
11 years ago
Steven Kirk
67e6b2eaed
Fixed ScrollPresenter arrange.
And added tests because I think it's about the 5th time I've tried to
get this right...
11 years ago
Steven Kirk
7eceb16220
Fix Border/Decorator measure with no child.
Should return border thickness + padding.
11 years ago
Steven Kirk
3965f7bdae
Updated and fixed all packages.
Now mono project should build.
11 years ago
Steven Kirk
363ad22438
Uninstalled Stylecop.MSBuild
It was causing problems and doesn't work properly with C#6 anyway.
11 years ago
Steven Kirk
7c6811a136
Cache array sizes.
11 years ago
Steven Kirk
1d617b8cd4
Use Array.GetLength instead of GetUpperBound.
For some reason I used GetUpperBound and added 1 instead of getting the
length. Who knows why. Always use GetLength even when we later subtract
1, to allow comparison to the Moonlight original more easily.
11 years ago
Steven Kirk
566e66d848
Removed DeckItem - it's not needed.
11 years ago