Thumb Thumb Thumb Thumb Class
Definition
Represents a control that can be dragged by the user.
public : sealed class Thumb : Control, IThumbpublic sealed class Thumb : Control, IThumbPublic NotInheritable Class Thumb Inherits Control Implements IThumb// This API is not available in Javascript.
<Thumb .../>
- Inheritance
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited properties
AccessKeyScopeOwnerPropertyAccessKeyScopeOwnerPropertyAccessKeyScopeOwnerPropertyAccessKeyScopeOwnerProperty
AllowFocusOnInteractionPropertyAllowFocusOnInteractionPropertyAllowFocusOnInteractionPropertyAllowFocusOnInteractionProperty
AllowFocusWhenDisabledPropertyAllowFocusWhenDisabledPropertyAllowFocusWhenDisabledPropertyAllowFocusWhenDisabledProperty
DefaultStyleResourceUriPropertyDefaultStyleResourceUriPropertyDefaultStyleResourceUriPropertyDefaultStyleResourceUriProperty
ExitDisplayModeOnAccessKeyInvokedExitDisplayModeOnAccessKeyInvokedExitDisplayModeOnAccessKeyInvokedExitDisplayModeOnAccessKeyInvoked
ExitDisplayModeOnAccessKeyInvokedPropertyExitDisplayModeOnAccessKeyInvokedPropertyExitDisplayModeOnAccessKeyInvokedPropertyExitDisplayModeOnAccessKeyInvokedProperty
FocusVisualMarginPropertyFocusVisualMarginPropertyFocusVisualMarginPropertyFocusVisualMarginProperty
FocusVisualPrimaryBrushPropertyFocusVisualPrimaryBrushPropertyFocusVisualPrimaryBrushPropertyFocusVisualPrimaryBrushProperty
FocusVisualPrimaryThicknessFocusVisualPrimaryThicknessFocusVisualPrimaryThicknessFocusVisualPrimaryThickness
FocusVisualPrimaryThicknessPropertyFocusVisualPrimaryThicknessPropertyFocusVisualPrimaryThicknessPropertyFocusVisualPrimaryThicknessProperty
FocusVisualSecondaryBrushFocusVisualSecondaryBrushFocusVisualSecondaryBrushFocusVisualSecondaryBrush
FocusVisualSecondaryBrushPropertyFocusVisualSecondaryBrushPropertyFocusVisualSecondaryBrushPropertyFocusVisualSecondaryBrushProperty
FocusVisualSecondaryThicknessFocusVisualSecondaryThicknessFocusVisualSecondaryThicknessFocusVisualSecondaryThickness
FocusVisualSecondaryThicknessPropertyFocusVisualSecondaryThicknessPropertyFocusVisualSecondaryThicknessPropertyFocusVisualSecondaryThicknessProperty
HighContrastAdjustmentPropertyHighContrastAdjustmentPropertyHighContrastAdjustmentPropertyHighContrastAdjustmentProperty
HorizontalAlignmentPropertyHorizontalAlignmentPropertyHorizontalAlignmentPropertyHorizontalAlignmentProperty
HorizontalContentAlignmentHorizontalContentAlignmentHorizontalContentAlignmentHorizontalContentAlignment
HorizontalContentAlignmentPropertyHorizontalContentAlignmentPropertyHorizontalContentAlignmentPropertyHorizontalContentAlignmentProperty
IsDoubleTapEnabledPropertyIsDoubleTapEnabledPropertyIsDoubleTapEnabledPropertyIsDoubleTapEnabledProperty
IsFocusEngagementEnabledPropertyIsFocusEngagementEnabledPropertyIsFocusEngagementEnabledPropertyIsFocusEngagementEnabledProperty
IsRightTapEnabledPropertyIsRightTapEnabledPropertyIsRightTapEnabledPropertyIsRightTapEnabledProperty
IsTemplateFocusTargetPropertyIsTemplateFocusTargetPropertyIsTemplateFocusTargetPropertyIsTemplateFocusTargetProperty
IsTemplateKeyTipTargetPropertyIsTemplateKeyTipTargetPropertyIsTemplateKeyTipTargetPropertyIsTemplateKeyTipTargetProperty
IsTextScaleFactorEnabledPropertyIsTextScaleFactorEnabledPropertyIsTextScaleFactorEnabledPropertyIsTextScaleFactorEnabledProperty
KeyTipHorizontalOffsetPropertyKeyTipHorizontalOffsetPropertyKeyTipHorizontalOffsetPropertyKeyTipHorizontalOffsetProperty
KeyTipPlacementModePropertyKeyTipPlacementModePropertyKeyTipPlacementModePropertyKeyTipPlacementModeProperty
KeyTipVerticalOffsetPropertyKeyTipVerticalOffsetPropertyKeyTipVerticalOffsetPropertyKeyTipVerticalOffsetProperty
ManipulationCompletedEventManipulationCompletedEventManipulationCompletedEventManipulationCompletedEvent
ManipulationInertiaStartingEventManipulationInertiaStartingEventManipulationInertiaStartingEventManipulationInertiaStartingEvent
ManipulationStartingEventManipulationStartingEventManipulationStartingEventManipulationStartingEvent
NoFocusCandidateFoundEventNoFocusCandidateFoundEventNoFocusCandidateFoundEventNoFocusCandidateFoundEvent
RenderTransformOriginPropertyRenderTransformOriginPropertyRenderTransformOriginPropertyRenderTransformOriginProperty
TabFocusNavigationPropertyTabFocusNavigationPropertyTabFocusNavigationPropertyTabFocusNavigationProperty
UseLayoutRoundingPropertyUseLayoutRoundingPropertyUseLayoutRoundingPropertyUseLayoutRoundingProperty
UseSystemFocusVisualsPropertyUseSystemFocusVisualsPropertyUseSystemFocusVisualsPropertyUseSystemFocusVisualsProperty
VerticalAlignmentPropertyVerticalAlignmentPropertyVerticalAlignmentPropertyVerticalAlignmentProperty
VerticalContentAlignmentPropertyVerticalContentAlignmentPropertyVerticalContentAlignmentPropertyVerticalContentAlignmentProperty
XYFocusDownNavigationStrategyXYFocusDownNavigationStrategyXYFocusDownNavigationStrategyXYFocusDownNavigationStrategy
XYFocusDownNavigationStrategyPropertyXYFocusDownNavigationStrategyPropertyXYFocusDownNavigationStrategyPropertyXYFocusDownNavigationStrategyProperty
XYFocusKeyboardNavigationXYFocusKeyboardNavigationXYFocusKeyboardNavigationXYFocusKeyboardNavigation
XYFocusKeyboardNavigationPropertyXYFocusKeyboardNavigationPropertyXYFocusKeyboardNavigationPropertyXYFocusKeyboardNavigationProperty
XYFocusLeftNavigationStrategyXYFocusLeftNavigationStrategyXYFocusLeftNavigationStrategyXYFocusLeftNavigationStrategy
XYFocusLeftNavigationStrategyPropertyXYFocusLeftNavigationStrategyPropertyXYFocusLeftNavigationStrategyPropertyXYFocusLeftNavigationStrategyProperty
XYFocusRightNavigationStrategyXYFocusRightNavigationStrategyXYFocusRightNavigationStrategyXYFocusRightNavigationStrategy
XYFocusRightNavigationStrategyPropertyXYFocusRightNavigationStrategyPropertyXYFocusRightNavigationStrategyPropertyXYFocusRightNavigationStrategyProperty
XYFocusUpNavigationStrategyXYFocusUpNavigationStrategyXYFocusUpNavigationStrategyXYFocusUpNavigationStrategy
Inherited events
AccessKeyDisplayDismissedAccessKeyDisplayDismissedAccessKeyDisplayDismissedAccessKeyDisplayDismissed
AccessKeyDisplayRequestedAccessKeyDisplayRequestedAccessKeyDisplayRequestedAccessKeyDisplayRequested
ManipulationInertiaStartingManipulationInertiaStartingManipulationInertiaStartingManipulationInertiaStarting
Inherited methods
AddHandler(RoutedEvent,Object,Boolean)AddHandler(RoutedEvent,Object,Boolean)AddHandler(RoutedEvent,Object,Boolean)AddHandler(RoutedEvent,Object,Boolean)
CancelDirectManipulationsCancelDirectManipulationsCancelDirectManipulationsCancelDirectManipulations
ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)
DeferTree(DependencyObject)DeferTree(DependencyObject)DeferTree(DependencyObject)DeferTree(DependencyObject)
FindSubElementsForTouchTargeting(Point,Rect)FindSubElementsForTouchTargeting(Point,Rect)FindSubElementsForTouchTargeting(Point,Rect)FindSubElementsForTouchTargeting(Point,Rect)
GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)
GetBindingExpression(DependencyProperty)GetBindingExpression(DependencyProperty)GetBindingExpression(DependencyProperty)GetBindingExpression(DependencyProperty)
GetChildrenInTabFocusOrderGetChildrenInTabFocusOrderGetChildrenInTabFocusOrderGetChildrenInTabFocusOrder
GetIsTemplateFocusTarget(FrameworkElement)GetIsTemplateFocusTarget(FrameworkElement)GetIsTemplateFocusTarget(FrameworkElement)GetIsTemplateFocusTarget(FrameworkElement)
GetIsTemplateKeyTipTarget(DependencyObject)GetIsTemplateKeyTipTarget(DependencyObject)GetIsTemplateKeyTipTarget(DependencyObject)GetIsTemplateKeyTipTarget(DependencyObject)
GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)
GoToElementStateCore(String,Boolean)GoToElementStateCore(String,Boolean)GoToElementStateCore(String,Boolean)GoToElementStateCore(String,Boolean)
OnCharacterReceived(CharacterReceivedRoutedEventArgs)OnCharacterReceived(CharacterReceivedRoutedEventArgs)OnCharacterReceived(CharacterReceivedRoutedEventArgs)OnCharacterReceived(CharacterReceivedRoutedEventArgs)
OnDisconnectVisualChildrenOnDisconnectVisualChildrenOnDisconnectVisualChildrenOnDisconnectVisualChildren
OnDoubleTapped(DoubleTappedRoutedEventArgs)OnDoubleTapped(DoubleTappedRoutedEventArgs)OnDoubleTapped(DoubleTappedRoutedEventArgs)OnDoubleTapped(DoubleTappedRoutedEventArgs)
OnDragEnter(DragEventArgs)OnDragEnter(DragEventArgs)OnDragEnter(DragEventArgs)OnDragEnter(DragEventArgs)
OnDragLeave(DragEventArgs)OnDragLeave(DragEventArgs)OnDragLeave(DragEventArgs)OnDragLeave(DragEventArgs)
OnDragOver(DragEventArgs)OnDragOver(DragEventArgs)OnDragOver(DragEventArgs)OnDragOver(DragEventArgs)
OnGotFocus(RoutedEventArgs)OnGotFocus(RoutedEventArgs)OnGotFocus(RoutedEventArgs)OnGotFocus(RoutedEventArgs)
OnHolding(HoldingRoutedEventArgs)OnHolding(HoldingRoutedEventArgs)OnHolding(HoldingRoutedEventArgs)OnHolding(HoldingRoutedEventArgs)
OnKeyDown(KeyRoutedEventArgs)OnKeyDown(KeyRoutedEventArgs)OnKeyDown(KeyRoutedEventArgs)OnKeyDown(KeyRoutedEventArgs)
OnKeyUp(KeyRoutedEventArgs)OnKeyUp(KeyRoutedEventArgs)OnKeyUp(KeyRoutedEventArgs)OnKeyUp(KeyRoutedEventArgs)
OnLostFocus(RoutedEventArgs)OnLostFocus(RoutedEventArgs)OnLostFocus(RoutedEventArgs)OnLostFocus(RoutedEventArgs)
OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)
OnManipulationDelta(ManipulationDeltaRoutedEventArgs)OnManipulationDelta(ManipulationDeltaRoutedEventArgs)OnManipulationDelta(ManipulationDeltaRoutedEventArgs)OnManipulationDelta(ManipulationDeltaRoutedEventArgs)
OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs)OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs)OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs)OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs)
OnManipulationStarted(ManipulationStartedRoutedEventArgs)OnManipulationStarted(ManipulationStartedRoutedEventArgs)OnManipulationStarted(ManipulationStartedRoutedEventArgs)OnManipulationStarted(ManipulationStartedRoutedEventArgs)
OnManipulationStarting(ManipulationStartingRoutedEventArgs)OnManipulationStarting(ManipulationStartingRoutedEventArgs)OnManipulationStarting(ManipulationStartingRoutedEventArgs)OnManipulationStarting(ManipulationStartingRoutedEventArgs)
OnPointerCanceled(PointerRoutedEventArgs)OnPointerCanceled(PointerRoutedEventArgs)OnPointerCanceled(PointerRoutedEventArgs)OnPointerCanceled(PointerRoutedEventArgs)
OnPointerCaptureLost(PointerRoutedEventArgs)OnPointerCaptureLost(PointerRoutedEventArgs)OnPointerCaptureLost(PointerRoutedEventArgs)OnPointerCaptureLost(PointerRoutedEventArgs)
OnPointerEntered(PointerRoutedEventArgs)OnPointerEntered(PointerRoutedEventArgs)OnPointerEntered(PointerRoutedEventArgs)OnPointerEntered(PointerRoutedEventArgs)
OnPointerExited(PointerRoutedEventArgs)OnPointerExited(PointerRoutedEventArgs)OnPointerExited(PointerRoutedEventArgs)OnPointerExited(PointerRoutedEventArgs)
OnPointerMoved(PointerRoutedEventArgs)OnPointerMoved(PointerRoutedEventArgs)OnPointerMoved(PointerRoutedEventArgs)OnPointerMoved(PointerRoutedEventArgs)
OnPointerPressed(PointerRoutedEventArgs)OnPointerPressed(PointerRoutedEventArgs)OnPointerPressed(PointerRoutedEventArgs)OnPointerPressed(PointerRoutedEventArgs)
OnPointerReleased(PointerRoutedEventArgs)OnPointerReleased(PointerRoutedEventArgs)OnPointerReleased(PointerRoutedEventArgs)OnPointerReleased(PointerRoutedEventArgs)
OnPointerWheelChanged(PointerRoutedEventArgs)OnPointerWheelChanged(PointerRoutedEventArgs)OnPointerWheelChanged(PointerRoutedEventArgs)OnPointerWheelChanged(PointerRoutedEventArgs)
OnPreviewKeyDown(KeyRoutedEventArgs)OnPreviewKeyDown(KeyRoutedEventArgs)OnPreviewKeyDown(KeyRoutedEventArgs)OnPreviewKeyDown(KeyRoutedEventArgs)
OnPreviewKeyUp(KeyRoutedEventArgs)OnPreviewKeyUp(KeyRoutedEventArgs)OnPreviewKeyUp(KeyRoutedEventArgs)OnPreviewKeyUp(KeyRoutedEventArgs)
OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs)OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs)OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs)OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs)
OnRightTapped(RightTappedRoutedEventArgs)OnRightTapped(RightTappedRoutedEventArgs)OnRightTapped(RightTappedRoutedEventArgs)OnRightTapped(RightTappedRoutedEventArgs)
OnTapped(TappedRoutedEventArgs)OnTapped(TappedRoutedEventArgs)OnTapped(TappedRoutedEventArgs)OnTapped(TappedRoutedEventArgs)
ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)
ReleasePointerCapture(Pointer)ReleasePointerCapture(Pointer)ReleasePointerCapture(Pointer)ReleasePointerCapture(Pointer)
RemoveHandler(RoutedEvent,Object)RemoveHandler(RoutedEvent,Object)RemoveHandler(RoutedEvent,Object)RemoveHandler(RoutedEvent,Object)
SetBinding(DependencyProperty,BindingBase)SetBinding(DependencyProperty,BindingBase)SetBinding(DependencyProperty,BindingBase)SetBinding(DependencyProperty,BindingBase)
SetIsTemplateFocusTarget(FrameworkElement,Boolean)SetIsTemplateFocusTarget(FrameworkElement,Boolean)SetIsTemplateFocusTarget(FrameworkElement,Boolean)SetIsTemplateFocusTarget(FrameworkElement,Boolean)
SetIsTemplateKeyTipTarget(DependencyObject,Boolean)SetIsTemplateKeyTipTarget(DependencyObject,Boolean)SetIsTemplateKeyTipTarget(DependencyObject,Boolean)SetIsTemplateKeyTipTarget(DependencyObject,Boolean)
SetValue(DependencyProperty,Object)SetValue(DependencyProperty,Object)SetValue(DependencyProperty,Object)SetValue(DependencyProperty,Object)
StartBringIntoView(BringIntoViewOptions)StartBringIntoView(BringIntoViewOptions)StartBringIntoView(BringIntoViewOptions)StartBringIntoView(BringIntoViewOptions)
StartDragAsync(PointerPoint)StartDragAsync(PointerPoint)StartDragAsync(PointerPoint)StartDragAsync(PointerPoint)
TransformToVisual(UIElement)TransformToVisual(UIElement)TransformToVisual(UIElement)TransformToVisual(UIElement)
TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs)TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs)TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs)TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs)
TryStartDirectManipulation(Pointer)TryStartDirectManipulation(Pointer)TryStartDirectManipulation(Pointer)TryStartDirectManipulation(Pointer)
Constructors
Properties
IsDragging IsDragging IsDragging IsDragging
Gets whether the Thumb control has focus and mouse capture.
public : PlatForm::Boolean IsDragging { get; }public bool IsDragging { get; }Public ReadOnly Property IsDragging As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the Thumb control has focus and mouse capture; otherwise, false. The default is false.
IsDraggingProperty IsDraggingProperty IsDraggingProperty IsDraggingProperty
Identifies the IsDragging dependency property.
public : static DependencyProperty IsDraggingProperty { get; }public static DependencyProperty IsDraggingProperty { get; }Public Static ReadOnly Property IsDraggingProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the IsDragging dependency property.
Methods
Events
DragCompleted DragCompleted DragCompleted DragCompleted
Fires when the Thumb control loses mouse capture.
public : event DragCompletedEventHandler DragCompletedpublic event DragCompletedEventHandler DragCompletedPublic Event DragCompleted// This API is not available in Javascript.
<Thumb DragCompleted="eventhandler"/>
DragDelta DragDelta DragDelta DragDelta
Fires one or more times as the mouse pointer is moved when a Thumb control has logical focus and mouse capture.
public : event DragDeltaEventHandler DragDeltapublic event DragDeltaEventHandler DragDeltaPublic Event DragDelta// This API is not available in Javascript.
<Thumb DragDelta="eventhandler"/>
DragStarted DragStarted DragStarted DragStarted
Fires when a Thumb control receives logical focus and mouse capture.
public : event DragStartedEventHandler DragStartedpublic event DragStartedEventHandler DragStartedPublic Event DragStarted// This API is not available in Javascript.
<Thumb DragStarted="eventhandler"/>