1 type derived from Thumb
PresentationFramework (1)
System\Windows\Controls\GridSplitter.cs (1)
77
public class GridSplitter :
Thumb
2 instantiations of Thumb
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11314
DefaultConstructor = delegate () { return new System.Windows.Controls.Primitives.
Thumb
(); },
System\Windows\Markup\KnownTypes.cs (1)
1597
case KnownElements.Thumb: o = new System.Windows.Controls.Primitives.
Thumb
(); break;
87 references to Thumb
PresentationFramework (81)
System\Windows\Automation\Peers\ThumbAutomationPeer.cs (1)
12
public ThumbAutomationPeer(
Thumb
owner): base(owner)
System\Windows\Controls\GridSplitter.cs (3)
83
EventManager.RegisterClassHandler(typeof(GridSplitter),
Thumb
.DragStartedEvent, new DragStartedEventHandler(GridSplitter.OnDragStarted));
84
EventManager.RegisterClassHandler(typeof(GridSplitter),
Thumb
.DragDeltaEvent, new DragDeltaEventHandler(GridSplitter.OnDragDelta));
85
EventManager.RegisterClassHandler(typeof(GridSplitter),
Thumb
.DragCompletedEvent, new DragCompletedEventHandler(GridSplitter.OnDragCompleted));
System\Windows\Controls\GridViewColumnHeader.cs (3)
42
[TemplatePart(Name = "PART_HeaderGripper", Type = typeof(
Thumb
))]
686
_headerGripper = GetTemplateChild(HeaderGripperTemplateName) as
Thumb
;
985
private
Thumb
_headerGripper;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
18
[TemplatePart(Name = "PART_LeftHeaderGripper", Type = typeof(
Thumb
))]
19
[TemplatePart(Name = "PART_RightHeaderGripper", Type = typeof(
Thumb
))]
229
_leftGripper = GetTemplateChild(LeftHeaderGripperTemplateName) as
Thumb
;
230
_rightGripper = GetTemplateChild(RightHeaderGripperTemplateName) as
Thumb
;
1122
private
Thumb
_leftGripper, _rightGripper;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
15
[TemplatePart(Name = "PART_TopHeaderGripper", Type = typeof(
Thumb
))]
16
[TemplatePart(Name = "PART_BottomHeaderGripper", Type = typeof(
Thumb
))]
594
_topGripper = GetTemplateChild(TopHeaderGripperTemplateName) as
Thumb
;
595
_bottomGripper = GetTemplateChild(BottomHeaderGripperTemplateName) as
Thumb
;
785
private
Thumb
_topGripper, _bottomGripper;
System\Windows\Controls\Primitives\DragCompletedEventArgs.cs (1)
24
RoutedEvent=
Thumb
.DragCompletedEvent;
System\Windows\Controls\Primitives\DragDeltaEventArgs.cs (1)
23
RoutedEvent=
Thumb
.DragDeltaEvent;
System\Windows\Controls\Primitives\DragStartedEventArgs.cs (1)
23
RoutedEvent=
Thumb
.DragStartedEvent;
System\Windows\Controls\Primitives\ScrollBar.cs (3)
680
EventManager.RegisterClassHandler(typeof(ScrollBar),
Thumb
.DragStartedEvent, new DragStartedEventHandler(OnThumbDragStarted));
681
EventManager.RegisterClassHandler(typeof(ScrollBar),
Thumb
.DragDeltaEvent, new DragDeltaEventHandler(OnThumbDragDelta));
682
EventManager.RegisterClassHandler(typeof(ScrollBar),
Thumb
.DragCompletedEvent, new DragCompletedEventHandler(OnThumbDragCompleted));
System\Windows\Controls\Primitives\Thumb.cs (15)
39
DefaultStyleKeyProperty.OverrideMetadata(typeof(
Thumb
), new FrameworkPropertyMetadata(typeof(
Thumb
)));
40
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
Thumb
));
41
FocusableProperty.OverrideMetadata(typeof(
Thumb
), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox));
43
EventManager.RegisterClassHandler(typeof(
Thumb
), Mouse.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCapture));
45
IsEnabledProperty.OverrideMetadata(typeof(
Thumb
), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
46
IsMouseOverPropertyKey.OverrideMetadata(typeof(
Thumb
), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
56
public static readonly RoutedEvent DragStartedEvent = EventManager.RegisterRoutedEvent("DragStarted", RoutingStrategy.Bubble, typeof(DragStartedEventHandler), typeof(
Thumb
));
61
public static readonly RoutedEvent DragDeltaEvent = EventManager.RegisterRoutedEvent("DragDelta", RoutingStrategy.Bubble, typeof(DragDeltaEventHandler), typeof(
Thumb
));
66
public static readonly RoutedEvent DragCompletedEvent = EventManager.RegisterRoutedEvent("DragCompleted", RoutingStrategy.Bubble, typeof(DragCompletedEventHandler), typeof(
Thumb
));
91
typeof(
Thumb
),
122
var
thumb = (
Thumb
)d;
269
Thumb
thumb = (
Thumb
)sender;
System\Windows\Controls\Primitives\TickBar.cs (2)
701
binding.Path = new PropertyPath(
Thumb
.ActualWidthProperty);
705
binding.Path = new PropertyPath(
Thumb
.ActualHeightProperty);
System\Windows\Controls\Primitives\Track.cs (2)
179
public
Thumb
Thumb
835
private
Thumb
_thumb;
System\Windows\Controls\Slider.cs (9)
60
EventManager.RegisterClassHandler(typeof(Slider),
Thumb
.DragStartedEvent, new DragStartedEventHandler(Slider.OnThumbDragStarted));
61
EventManager.RegisterClassHandler(typeof(Slider),
Thumb
.DragDeltaEvent, new DragDeltaEventHandler(Slider.OnThumbDragDelta));
62
EventManager.RegisterClassHandler(typeof(Slider),
Thumb
.DragCompletedEvent, new DragCompletedEventHandler(Slider.OnThumbDragCompleted));
808
Thumb
thumb = e.OriginalSource as
Thumb
;
841
Thumb
thumb = e.OriginalSource as
Thumb
;
890
Thumb
thumb = e.OriginalSource as
Thumb
;
System\Windows\Controls\StickyNote.cs (22)
43
[TemplatePart(Name = SNBConstants.c_TitleThumbId, Type = typeof(
Thumb
))]
44
[TemplatePart(Name = SNBConstants.c_BottomRightResizeThumbId, Type = typeof(
Thumb
))]
176
Thumb
titleThumb = GetTitleThumb();
179
titleThumb.AddHandler(
Thumb
.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta));
180
titleThumb.AddHandler(
Thumb
.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
183
Thumb
resizeThumb = GetResizeThumb();
186
resizeThumb.AddHandler(
Thumb
.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta));
187
resizeThumb.AddHandler(
Thumb
.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
694
private
Thumb
GetTitleThumb()
696
return GetTemplateChild(SNBConstants.c_TitleThumbId) as
Thumb
;
710
private
Thumb
GetResizeThumb()
712
return GetTemplateChild(SNBConstants.c_BottomRightResizeThumbId) as
Thumb
;
1034
Thumb
source = args.Source as
Thumb
;
1057
Thumb
source = args.Source as
Thumb
;
1269
Thumb
titleThumb = GetTitleThumb();
1272
titleThumb.RemoveHandler(
Thumb
.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta));
1273
titleThumb.RemoveHandler(
Thumb
.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
1276
Thumb
resizeThumb = GetResizeThumb();
1279
resizeThumb.RemoveHandler(
Thumb
.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta));
1280
resizeThumb.RemoveHandler(
Thumb
.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
System\Windows\Controls\ToolBarTray.cs (3)
44
EventManager.RegisterClassHandler(typeof(ToolBarTray),
Thumb
.DragDeltaEvent, new DragDeltaEventHandler(OnThumbDragDelta));
505
Thumb
thumb = e.OriginalSource as
Thumb
;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
751
case 658: t = () => typeof(
Thumb
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7851
typeof(System.Windows.Controls.Primitives.
Thumb
), // type
7856
SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Primitives.Track)target).Thumb = (System.Windows.Controls.Primitives.
Thumb
)value; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11311
typeof(System.Windows.Controls.Primitives.
Thumb
),
System\Windows\Markup\KnownTypes.cs (1)
6205
case KnownElements.Thumb: t = typeof(System.Windows.Controls.Primitives.
Thumb
); break;
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (3)
35
[TemplatePart(Name = RibbonMenuButton.ResizeThumbTemplatePartName, Type = typeof(
Thumb
))]
687
_resizeThumb = GetTemplateChild(ResizeThumbTemplatePartName) as
Thumb
;
1313
private
Thumb
_resizeThumb;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (3)
35
[TemplatePart(Name = RibbonMenuItem.ResizeThumbTemplatePartName, Type = typeof(
Thumb
))]
627
_resizeThumb = GetTemplateChild(ResizeThumbTemplatePartName) as
Thumb
;
1561
private
Thumb
_resizeThumb;