Yoh Deadfall
1468c2a83b
Added lost focus-within to pseudo classes attr
5 years ago
Steven Kirk
e42bccd79b
Added TabIndex property.
And also added `IsTabStop` property to `InputElement`.
5 years ago
Max Katz
3984ba2ec5
Enable nullability for InputElement, Interactive, Visual
5 years ago
Max Katz
734d1458df
Revert "Avoid breaking changes for next release"
This reverts commit 6c608c6d0d .
5 years ago
Max Katz
6c608c6d0d
Avoid breaking changes for next release
5 years ago
Max Katz
f7a41c0793
Use single TappedEventArgs for all tapped events
5 years ago
Max Katz
1a8f2f7f35
Add tapped event args
5 years ago
Nikita Tsukanov
35b365d97d
Implemented basic IME support for Linux
5 years ago
Dan Walmsley
f9f4e73bd3
whitespace.
6 years ago
Dan Walmsley
98c2b0f9e0
Initial implementation of IsKeyboardFocusWithin
6 years ago
Steven Kirk
58c333b6f1
Added PseudoClassesAttribute.
And apply it to our controls. Can be used by designers to add auto-completion support for pseudoclasses.
6 years ago
Steven Kirk
a42e8cbded
Nullable enable Avalonia.Input.
6 years ago
Maksym Katsydan
6f7dac83d1
Add focus-visible support with tests
6 years ago
Steven Kirk
4a752c3f48
Get non-animated change information.
- Pass information for all property changes to `OnPropertyChangedCore`; whether they result in an effective value change or not
- Added `GetBaseValue` to get a value with a specified priority
- Change the signature of `OnPropertyChanged` again to take an `AvaloniaPropertyChangedEventArgs<T>`
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
FoggyFinder
cff59382c7
adjust comments
7 years ago
Steven Kirk
b89305d708
Set pseudoclasses manually.
It makes creating new controls a _lot_ faster.
7 years ago
Dariusz Komosinski
a2c6bc1b7c
Remove usage of AddClassHandler that returns new lambda per invocation.
7 years ago
Dariusz Komosiński
7237fa979e
Add comments.
7 years ago
Dariusz Komosiński
7f33ffaf8b
Avoid allocations when running UpdateIsEffectivelyEnabled.
7 years ago
Nikita Tsukanov
ec99f7d1a9
Initial scroll gesture implementation
7 years ago
Steven Kirk
38d68865fd
Correctly handle command.CanExecute state.
Added a new `IsEnabledCore` property to `InputElement` which is overridden in `Button` and `MenuItem` to override the `IsEffectivelyEnabled` state with the enabled state of the command.
Also add data validation of the `Command` property to `MenuItem` to make it behave the same as `Button` when `Command` is bound to a non-existent property.
Fixes #2501
7 years ago
Steven Kirk
e6be9b7c5a
Renamed IsEnabledCore -> IsEffectivelyEnabled.
I now understand how WPF's `IsEnabledCore` works, and it's not like this. Rename `IsEnabledCore` to `IsEffectivelyEnabled` so that we can add a new `IsEnabledCore` property which works like WPF's.
This also aligns with the existing `IsEffectivelyVisible` property.
7 years ago
Steven Kirk
4a5e11f6aa
Fix keyboard interaction for ContextMenu.
7 years ago
Steven Kirk
576cc91573
Make Pseudoclass method typed.
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Steven Kirk
1293e9af8d
Implemented Menu interactions.
8 years ago
Steven Kirk
3f0c7650e5
Make sure IsPointerOver is correctly set.
Reset the handled state for `PointerEnter`/`PointerLeave` on each control invocation, and don't allow the user to skip setting `IsPointerOver`
8 years ago
Jeremy Koritzinsky
72a4889435
Move Control static constructor statements to more accurate layers.
8 years ago
José Pedro
7cccc6bda0
Use nameof where possible.
8 years ago
Wiesław Šoltés
a26c261aad
Fixed OnPointerReleased parameter type
9 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
ca301280e8
Correctly clear focus when control removed.
Focus was staying on removed element.
10 years ago
Steven Kirk
8eb4f30c6d
Added Tapped and DoubleTapped gestures.
10 years ago
Steven Kirk
3e3134217c
Fixed name of PointerPressedEventArgs.
10 years ago
Steven Kirk
d25e057ccc
More WIP refactoring properties.
Compiles now but lots of tests failing.
10 years ago
Steven Kirk
16c2242757
Implemented NameScopes
Some tests still failing as controls are only registered with name scope
when attached to a rooted visual tree. Need to work around this by
explicitly registering controls when applying template.
11 years ago
Steven Kirk
92e6274ec3
Fixed input hit test Z ordering.
Closes #170 .
11 years ago
Steven Kirk
5c4d2b84a3
Started converting PPs to direct PPs.
11 years ago
Nikita Tsukanov
5acef971f0
Added KeyGesture and KeyBindings
11 years ago
Nikita Tsukanov
79f8f76351
ref #198
11 years ago
Nikita Tsukanov
21a3554260
Change property getter to expression properties
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Nikita Tsukanov
7f72c7763b
Implemented cursors. Ceterum censeo StyleCopum esse delendum.
11 years ago
Nikita Tsukanov
70dcfd652a
Now using TextInput event, WM_CHAR and GtkIMContext
11 years ago
Steven Kirk
c5020d38ee
Remove RoutedEventArgs.OriginalSource.
Still not entirely sure what it's purpose is in WPF.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
4919eeb226
Removed InputElement.IsTabFocused.
It was unused.
11 years ago