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
Steven Kirk
b42d472b65
Added class RoutedEvent handlers.
11 years ago
Steven Kirk
374d1723a2
Handle dropdown selection.
11 years ago
Steven Kirk
9a994e582c
Moved VisualTree extensions into own namespace.
So that they don't pollute the whole Perspex namespace - you now need to
"opt-in" to the visual tree.
11 years ago
Steven Kirk
686b339e5d
Track mouse leave events.
*Actually* fixes #15 .
11 years ago
Steven Kirk
3a09abe30b
Fix mouse capture.
Fixes #15 .
11 years ago
Steven Kirk
2f7981f1cb
Added an animated rotation.
To do this had to move Animatable to the bottom of the class hierarchy
to allow Transform to inherit from it.
11 years ago
Steven Kirk
00aa02964f
Inplemented double and triple click in TextBox.
Copied a load of stuff from Moonlight regarding finding next/prev word
that I've put in StringUtils.
11 years ago
Steven Kirk
42f7254393
Added IsEnabled.
11 years ago
Steven Kirk
55a11d8dfd
More stylecop fixes.
11 years ago
Steven Kirk
7f90f5c8e6
Added mousewheel support to ScrollViewer.
11 years ago
Steven Kirk
a5a6f094cf
Added keyboard navigation for ListBox.
Need to override it for TreeView.
11 years ago
Steven Kirk
2468e061c5
Improve focus a little bit.
11 years ago
Steven Kirk
c999d45e94
WIP refactoring Window.
To make it x-platform. Currently breaks input.
11 years ago
Steven Kirk
192e66179c
Initial implementation of GTK windowing system.
Displays a window. Doesn't do anything with it yet.
11 years ago
Steven Kirk
9d8d9a59fa
Updated NuGet packages.
11 years ago
Steven Kirk
f361fe23ce
Implemented basic GridSplitter for DevTools.
12 years ago
Steven Kirk
e25269be1c
Updated NuGet packages.
12 years ago
Steven Kirk
ced25df067
WIP
12 years ago
Steven Kirk
c761f8830d
Make keyboard focus work again.
12 years ago
Steven Kirk
3f24d2f6ef
Everything compiling now.
But not working, obviously.
12 years ago
Steven Kirk
f006244c5f
Added Application library.
12 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago