Tom Edwards
f4b5dc95b7
Use `SetCurrentValue` for all `IMenuItem` properties ( #20682 )
* Add IMenuItem binding tests
* Use SetCurrentValue for all IMenuItem properties
Fix XMLDoc comments for MenuItem being inherited from an internal type
1 month ago
Julien Lebosquain
960cb39414
Enable nullability in Controls.UnitTests ( #20373 )
3 months ago
Nikita Tsukanov
fedbb270c0
Make sure that tests inherit from ScropedTestBase ( #18690 )
11 months ago
Emmanuel Hansen
42fccd1af6
track currently active gesture in the pointer
3 years ago
Steven Kirk
8f94a6505b
Make IMenu, IMenuElement, IMenuItem internal.
Should only be needed for unit tests.
3 years ago
Max Katz
20064647dd
Limit IFocusManager API, extend IInputElement API, remove visible static properties
3 years ago
Steven Kirk
f745fe1788
Use simpler event args type.
The `PointerEnteredItem` and `PointerExitedItem` were using an obsolete API to create the event args. We don't need a `PointerEventArgs` anyway, just use `RoutedEventArgs`.
3 years ago
Steven Kirk
8347093f90
Removed IInteractive.
3 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
3 years ago
robloo
0863a05c76
Rename PointerLeave to PointerExited
4 years ago
robloo
8a0903f616
Rename PointerEnter to PointerEntered
4 years ago
Steven Kirk
bbf7bee56a
Fix unopened toplevel menu selection with down key.
4 years ago
Simon Haines
fcbe456cb9
Filter pointer pressed events from disabled sub-menu items
Pointer clicks on disabled and non-interactive items in sub-menus
are bubbled up to the sub-menu's parent, causing the sub-menu popup
to be closed when it is expected to remain open. This scenario is
identified and filtered out by searching for a popup in the logical
tree between the source and the handler. Fixes #6412 .
4 years ago
Giuseppe Lippolis
c98918bc2a
Update tests
6 years ago
Steven Kirk
226c57b7d7
Ensure that Open is called on main menu.
6 years ago
Steven Kirk
14b13ac8f5
Added failing test for #3459 .
6 years ago
Nikita Tsukanov
a16e3bff7f
Added InitialPressMouseButton to PointerReleasedEventArgs that returns the button that caused the PointerPressed event
MouseButton is now deprecated with error, since people need to decide which behavior they want
7 years ago
Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
7 years ago
Nikita Tsukanov
b387c38c84
Implemented simple inertial scroll
7 years ago
Nikita Tsukanov
daf7231281
Move pointer mock to the bottom
7 years ago
Nikita Tsukanov
4c1f42b48a
PR comments
7 years ago
Nikita Tsukanov
6827179476
Implemented TouchDevice and touch input support for X11 backend
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Steven Kirk
f8cf268f0e
Added unit test for toplevel menu close.
Added unit test for previous commit, and also tweaked code a little bit to use `IsTopLevel` instead of trying to cast the parent menu item.
7 years ago
Steven Kirk
4a5e11f6aa
Fix keyboard interaction for ContextMenu.
7 years ago
Steven Kirk
0fb1780f75
Don't deselect sibling item on PointerLeave.
8 years ago
Steven Kirk
1293e9af8d
Implemented Menu interactions.
8 years ago