Skip to main content

InputElement Events

Events

ActualThemeVariantChangedRaised when the theme variant is changed on the element or an ancestor of the element.
(Inherited from StyledElement)
AttachedToLogicalTreeRaised when the styled element is attached to a rooted logical tree.
(Inherited from StyledElement)
AttachedToVisualTreeRaised when the control is attached to a rooted visual tree.
(Inherited from Visual)
DataContextChangedOccurs when the DataContext property changes.
(Inherited from StyledElement)
DetachedFromLogicalTreeRaised when the styled element is detached from a rooted logical tree.
(Inherited from StyledElement)
DetachedFromVisualTreeRaised when the control is detached from a rooted visual tree.
(Inherited from Visual)
DoubleTappedOccurs when a double-tap gesture occurs on the control.
EffectiveViewportChangedOccurs when the element's effective viewport changes.
(Inherited from Layoutable)
GotFocusOccurs when the control receives focus.
HoldingOccurs when a hold gesture occurs on the control.
InitializedOccurs when the styled element has finished initialization.
(Inherited from StyledElement)
KeyDownOccurs when a key is pressed while the control has focus.
KeyUpOccurs when a key is released while the control has focus.
LayoutUpdatedOccurs when a layout pass completes for the control.
(Inherited from Layoutable)
LostFocusOccurs when the control loses focus.
PointerCaptureLostOccurs when the control or its child control loses the pointer capture for any reason, event will not be triggered for a parent control if capture was transferred to another child of that parent control
PointerEnteredOccurs when the pointer enters the control.
PointerExitedOccurs when the pointer leaves the control.
PointerMovedOccurs when the pointer moves over the control.
PointerPressedOccurs when the pointer is pressed over the control.
PointerReleasedOccurs when the pointer is released over the control.
PointerWheelChangedOccurs when the mouse is scrolled over the control.
PropertyChangedRaised when a AvaloniaProperty value changes on this object.
(Inherited from AvaloniaObject)
ResourcesChangedOccurs when a resource in this styled element or a parent styled element has changed.
(Inherited from StyledElement)
TappedOccurs when a tap gesture occurs on the control.
TextInputOccurs when a user typed some text while the control has focus.
TextInputMethodClientRequestedOccurs when an input element gains input focus and input method is looking for the corresponding client

See Also

Reference

InputElement Class
Avalonia.Input Namespace