Class Thumb
Represents a control that can be dragged by the user.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.dll
Syntax
public sealed class Thumb : Control
Constructors
| Improve this Doc View SourceThumb()
Initializes a new instance of the Thumb class.
Declaration
public Thumb()
Fields
| Improve this Doc View SourceIsDraggingProperty
Identifies the IsDragging dependency property.
Declaration
public static readonly DependencyProperty IsDraggingProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsFocusedProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty IsFocusedProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceIsDragging
Gets whether the Thumb control has focus and mouse capture. The default is false.
Declaration
public bool IsDragging { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsFocused
Declaration
[NotImplemented]
public bool IsFocused { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceCancelDrag()
Cancels a drag operation for the Thumb.
Declaration
public void CancelDrag()
INTERNAL_OnAttachedToVisualTree()
Declaration
protected override void INTERNAL_OnAttachedToVisualTree()
Overrides
Events
| Improve this Doc View SourceDragCompleted
Fires when the Thumb control loses mouse capture.
Declaration
public event DragCompletedEventHandler DragCompleted
Event Type
Type | Description |
---|---|
DragCompletedEventHandler |
DragDelta
Fires one or more times as the mouse pointer is moved when a Thumb control has logical focus and mouse capture.
Declaration
public event DragDeltaEventHandler DragDelta
Event Type
Type | Description |
---|---|
DragDeltaEventHandler |
DragStarted
Fires when a Thumb control receives logical focus and mouse capture.
Declaration
public event DragStartedEventHandler DragStarted
Event Type
Type | Description |
---|---|
DragStartedEventHandler |