Steven Kirk
dbae7b0aa2
Fixed navigation (I think).
11 years ago
Steven Kirk
a3219f9170
More work on tab/arrow key navigation.
Getting there, but still not quite right.
11 years ago
Steven Kirk
296c7a5f85
More work on directional key handling.
Added tests, most passing - one failing in both arrows and tabs.
11 years ago
Steven Kirk
37eac44910
Started putting directional nav back into TreeView.
11 years ago
Steven Kirk
884c6539ce
Implemented directional navigation.
11 years ago
Steven Kirk
3870c4792f
Refactored tab navigation.
In preparation for directional navigation.
11 years ago
Steven Kirk
2472bf26cc
Added KeyboardNavigationMode.Contained.
11 years ago
Steven Kirk
2731387423
Removed debug code.
11 years ago
Steven Kirk
33696785ab
Forgot to save .csproj after last commit it seems
11 years ago
Steven Kirk
ed3b5df146
Updated stylecop analyser.
11 years ago
Steven Kirk
5c5cfc641e
Add focused control to devtools.
11 years ago
Steven Kirk
0959817b35
Move click focus handling to FocusManager.
11 years ago
Steven Kirk
9ae44342e5
Restore focus when menu item clicked.
11 years ago
Steven Kirk
80064e8712
More work on Menu.
11 years ago
Steven Kirk
576ee1500d
Added access key support to AccessKeyHandler.
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
05f131595c
Make keyboard navigation handler per-window.
Use the same pattern as AccessKeyHander.
11 years ago
Steven Kirk
43e80392df
Started adding keyboard accessibility to Menu.
Still quite a lot to do.
11 years ago
Steven Kirk
3ac8bdcf37
Added KeyUp event.
11 years ago
Steven Kirk
e085e56c70
Show access keys on Alt/F10.
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
fe9ed13cff
Install StyleCopAnalysers.
And fix all warnings for the Perspex.Animation project.
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
1d8f4714ff
Added basic tooltip control.
Can be attached to any control using an attached property.
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
aef34f810d
Stylecop fixes.
11 years ago
Steven Kirk
2fbf3d0280
Make TabControl use Deck.
11 years ago
Steven Kirk
d6b771bcea
Don't re-focus already focused control.
This actually fixes the TextBox selection problem.
11 years ago
Steven Kirk
b369c30a2e
Implemented Tab focus.
Should hopefully be the start of a non-hacky tab focus solution.
11 years ago
Steven Kirk
535f8c38f1
Moved pointer over state to MouseDevice.
11 years ago
Steven Kirk
eb8bdc4c55
Don't focus disabled controls on shift-tab.
11 years ago
Steven Kirk
b8db5c2b75
Lose focus when control removed from visual tree.
11 years ago
Steven Kirk
3efc8e8920
Improved tab focus handling a bit.
11 years ago
Steven Kirk
6fa126f827
Show keyboard focus adorner.
11 years ago
Steven Kirk
bad9aae1a5
Stylecop fixes.
11 years ago
Steven Kirk
557fb4d215
Added IsHitTestVisible property.
11 years ago
Steven Kirk
4299e7e046
Make TextBox handle text input.
Instead of TextPresenter - this fixes the problem of focus that we were
working around in TextBox.OnGotFocus before.
11 years ago
Steven Kirk
78a80b2b75
Moved Tab key handling to InputElement.
11 years ago
Steven Kirk
3c591482a9
Added hacky tab keyboard navigation.
This is a temporary workaround to #30 - it's very hacky:
- Tab key handling is built into TextBox - all other controls don't
work. It needs to be moved into InputElement.
- It only traverses siblings.
- Setting focus to template children is a hack.
- Many more problems.
11 years ago
Steven Kirk
83043a85fa
Updated NuGet pkgs.
11 years ago
Steven Kirk
09092afe75
Use ICommand from System.Windows.Input.
11 years ago
Steven Kirk
a72e8e243d
Added ICommand and use it in Button.
11 years ago
Steven Kirk
a92219625a
Added generic Add/RemoveHandler methods.
Prevents annoying casts when calling.
11 years ago
Steven Kirk
01e97aec7e
Removed Preview* tunneling events.
You need to call AddHandler to get to them now.
11 years ago
Steven Kirk
78901c776e
Make class handlers work again.
11 years ago
Steven Kirk
aa63b5fa15
Started refactoring events.
Tunnelled and bubbling events can now be represented by a single
RoutedEvent. Next need to implement 'handledEventsToo'.
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
8d2006c968
Make dropdown close on click.
11 years ago