Class Thumb
- Namespace
- Avalonia.Controls.Primitives
- Assembly
- Avalonia.Controls.dll
[PseudoClasses(new string[] { ":pressed" })]
public class Thumb : TemplatedControl, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
- Inheritance
-
Thumb
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
Thumb()
public Thumb()
Fields
DragCompletedEvent
public static readonly RoutedEvent<VectorEventArgs> DragCompletedEvent
Field Value
DragDeltaEvent
public static readonly RoutedEvent<VectorEventArgs> DragDeltaEvent
Field Value
DragStartedEvent
public static readonly RoutedEvent<VectorEventArgs> DragStartedEvent
Field Value
Methods
OnCreateAutomationPeer()
Returns a new, type-specific AutomationPeer implementation for the control.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer
The type-specific AutomationPeer implementation.
OnDragCompleted(VectorEventArgs)
protected virtual void OnDragCompleted(VectorEventArgs e)
Parameters
OnDragDelta(VectorEventArgs)
protected virtual void OnDragDelta(VectorEventArgs e)
Parameters
OnDragStarted(VectorEventArgs)
protected virtual void OnDragStarted(VectorEventArgs e)
Parameters
OnPointerCaptureLost(PointerCaptureLostEventArgs)
Called before the PointerCaptureLost event occurs.
protected override void OnPointerCaptureLost(PointerCaptureLostEventArgs e)
Parameters
e
PointerCaptureLostEventArgsThe event args.
OnPointerMoved(PointerEventArgs)
Called before the PointerMoved event occurs.
protected override void OnPointerMoved(PointerEventArgs e)
Parameters
e
PointerEventArgsThe event args.
OnPointerPressed(PointerPressedEventArgs)
Called before the PointerPressed event occurs.
protected override void OnPointerPressed(PointerPressedEventArgs e)
Parameters
e
PointerPressedEventArgsThe event args.
OnPointerReleased(PointerReleasedEventArgs)
Called before the PointerReleased event occurs.
protected override void OnPointerReleased(PointerReleasedEventArgs e)
Parameters
e
PointerReleasedEventArgsThe event args.
Events
DragCompleted
public event EventHandler<VectorEventArgs>? DragCompleted
Event Type
DragDelta
public event EventHandler<VectorEventArgs>? DragDelta
Event Type
DragStarted
public event EventHandler<VectorEventArgs>? DragStarted