GestureRecognizer Class
Definition
Namespace: Avalonia.Input.GestureRecognizers
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public abstract class GestureRecognizer : StyledElement
Public MustInherit Class GestureRecognizer
Inherits StyledElement
[<AbstractClassAttribute>]
type GestureRecognizer =
class
inherit StyledElement
end
Inheritance | Object → AvaloniaObject → Animatable → StyledElement → GestureRecognizer |
Derived | Avalonia.Input.GestureRecognizers.ScrollGestureRecognizer Avalonia.Input.PinchGestureRecognizer Avalonia.Input.PullGestureRecognizer |
Constructors
GestureRecognizer() | Initializes a new instance of the GestureRecognizer class |
Properties
ActualThemeVariant | Gets the UI theme that is currently used by the element, which might be different than the RequestedThemeVariantProperty. (Inherited from StyledElement) |
Classes | Gets or sets the styled element's classes. (Inherited from StyledElement) |
DataContext | Gets or sets the control's data context. (Inherited from StyledElement) |
InheritanceParent | Gets or sets the parent object that inherited AvaloniaProperty values are inherited from. (Inherited from AvaloniaObject) |
IsInitialized | Gets a value that indicates whether the element has finished initialization. (Inherited from StyledElement) |
Item(AvaloniaProperty) | Gets or sets the value of a AvaloniaProperty. (Inherited from AvaloniaObject) |
Item(IndexerDescriptor) | Gets or sets a binding for a AvaloniaProperty. (Inherited from AvaloniaObject) |
LogicalChildren | Gets the styled element's logical children. (Inherited from StyledElement) |
Name | Gets or sets the name of the styled element. (Inherited from StyledElement) |
Parent | Gets the styled element's logical parent. (Inherited from StyledElement) |
PseudoClasses | Gets the Classes collection in a form that allows adding and removing pseudoclasses. (Inherited from StyledElement) |
Resources | Gets or sets the styled element's resource dictionary. (Inherited from StyledElement) |
StyleKey | Gets the type by which the element is styled. (Inherited from StyledElement) |
StyleKeyOverride | Gets the type by which the element is styled. (Inherited from StyledElement) |
Styles | Gets the styles for the styled element. (Inherited from StyledElement) |
Target | |
TemplatedParent | Gets the styled element whose lookless template this styled element is part of. (Inherited from StyledElement) |
Theme | Gets or sets the theme to be applied to the element. (Inherited from StyledElement) |
Transitions | Gets or sets the property transitions for the control. (Inherited from Animatable) |
Methods
Events
ActualThemeVariantChanged | Raised when the theme variant is changed on the element or an ancestor of the element. (Inherited from StyledElement) |
AttachedToLogicalTree | Raised when the styled element is attached to a rooted logical tree. (Inherited from StyledElement) |
DataContextChanged | Occurs when the DataContext property changes. (Inherited from StyledElement) |
DetachedFromLogicalTree | Raised when the styled element is detached from a rooted logical tree. (Inherited from StyledElement) |
Initialized | Occurs when the styled element has finished initialization. (Inherited from StyledElement) |
PropertyChanged | Raised when a AvaloniaProperty value changes on this object. (Inherited from AvaloniaObject) |
ResourcesChanged | Occurs when a resource in this styled element or a parent styled element has changed. (Inherited from StyledElement) |