1 type derived from Thumb
PresentationFramework (1)
System\Windows\Controls\GridSplitter.cs (1)
78public class GridSplitter : Thumb
2 instantiations of Thumb
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10196bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Primitives.Thumb(); };
System\Windows\Markup\KnownTypes.cs (1)
1604case KnownElements.Thumb: o = new System.Windows.Controls.Primitives.Thumb(); break;
93 references to Thumb
PresentationFramework (87)
System\Windows\Automation\Peers\ThumbAutomationPeer.cs (1)
13public ThumbAutomationPeer(Thumb owner): base(owner)
System\Windows\Controls\GridSplitter.cs (3)
84EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragStartedEvent, new DragStartedEventHandler(GridSplitter.OnDragStarted)); 85EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragDeltaEvent, new DragDeltaEventHandler(GridSplitter.OnDragDelta)); 86EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragCompletedEvent, new DragCompletedEventHandler(GridSplitter.OnDragCompleted));
System\Windows\Controls\GridViewColumnHeader.cs (3)
43[TemplatePart(Name = "PART_HeaderGripper", Type = typeof(Thumb))] 702_headerGripper = GetTemplateChild(HeaderGripperTemplateName) as Thumb; 1001private Thumb _headerGripper;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
19[TemplatePart(Name = "PART_LeftHeaderGripper", Type = typeof(Thumb))] 20[TemplatePart(Name = "PART_RightHeaderGripper", Type = typeof(Thumb))] 233_leftGripper = GetTemplateChild(LeftHeaderGripperTemplateName) as Thumb; 234_rightGripper = GetTemplateChild(RightHeaderGripperTemplateName) as Thumb; 1138private Thumb _leftGripper, _rightGripper;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
16[TemplatePart(Name = "PART_TopHeaderGripper", Type = typeof(Thumb))] 17[TemplatePart(Name = "PART_BottomHeaderGripper", Type = typeof(Thumb))] 595_topGripper = GetTemplateChild(TopHeaderGripperTemplateName) as Thumb; 596_bottomGripper = GetTemplateChild(BottomHeaderGripperTemplateName) as Thumb; 786private Thumb _topGripper, _bottomGripper;
System\Windows\Controls\Primitives\DragCompletedEventArgs.cs (3)
11/// <seealso cref="Thumb.DragCompletedEvent" /> 25RoutedEvent=Thumb.DragCompletedEvent; 62/// <seealso cref="Thumb.DragCompletedEvent" />
System\Windows\Controls\Primitives\DragDeltaEventArgs.cs (3)
11/// <seealso cref="Thumb.DragDeltaEvent" /> 24RoutedEvent=Thumb.DragDeltaEvent; 50/// <seealso cref="Thumb.DragDeltaEvent" />
System\Windows\Controls\Primitives\DragStartedEventArgs.cs (3)
11/// <seealso cref="Thumb.DragStartedEvent" /> 24RoutedEvent=Thumb.DragStartedEvent; 50/// <seealso cref="Thumb.DragStartedEvent" />
System\Windows\Controls\Primitives\ScrollBar.cs (3)
679EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragStartedEvent, new DragStartedEventHandler(OnThumbDragStarted)); 680EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnThumbDragDelta)); 681EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnThumbDragCompleted));
System\Windows\Controls\Primitives\Thumb.cs (15)
40DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb))); 41_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Thumb)); 42FocusableProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox)); 44EventManager.RegisterClassHandler(typeof(Thumb), Mouse.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCapture)); 46IsEnabledProperty.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 47IsMouseOverPropertyKey.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 57public static readonly RoutedEvent DragStartedEvent = EventManager.RegisterRoutedEvent("DragStarted", RoutingStrategy.Bubble, typeof(DragStartedEventHandler), typeof(Thumb)); 62public static readonly RoutedEvent DragDeltaEvent = EventManager.RegisterRoutedEvent("DragDelta", RoutingStrategy.Bubble, typeof(DragDeltaEventHandler), typeof(Thumb)); 67public static readonly RoutedEvent DragCompletedEvent = EventManager.RegisterRoutedEvent("DragCompleted", RoutingStrategy.Bubble, typeof(DragCompletedEventHandler), typeof(Thumb)); 92typeof(Thumb), 123var thumb = (Thumb)d; 270Thumb thumb = (Thumb)sender;
System\Windows\Controls\Primitives\TickBar.cs (2)
698binding.Path = new PropertyPath(Thumb.ActualWidthProperty); 702binding.Path = new PropertyPath(Thumb.ActualHeightProperty);
System\Windows\Controls\Primitives\Track.cs (2)
184public Thumb Thumb 846private Thumb _thumb;
System\Windows\Controls\Slider.cs (9)
61EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragStartedEvent, new DragStartedEventHandler(Slider.OnThumbDragStarted)); 62EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragDeltaEvent, new DragDeltaEventHandler(Slider.OnThumbDragDelta)); 63EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragCompletedEvent, new DragCompletedEventHandler(Slider.OnThumbDragCompleted)); 827Thumb thumb = e.OriginalSource as Thumb; 858Thumb thumb = e.OriginalSource as Thumb; 907Thumb thumb = e.OriginalSource as Thumb;
System\Windows\Controls\StickyNote.cs (22)
55[TemplatePart(Name = SNBConstants.c_TitleThumbId, Type = typeof(Thumb))] 56[TemplatePart(Name = SNBConstants.c_BottomRightResizeThumbId, Type = typeof(Thumb))] 194Thumb titleThumb = GetTitleThumb(); 197titleThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 198titleThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 201Thumb resizeThumb = GetResizeThumb(); 204resizeThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 205resizeThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 712private Thumb GetTitleThumb() 714return GetTemplateChild(SNBConstants.c_TitleThumbId) as Thumb; 728private Thumb GetResizeThumb() 730return GetTemplateChild(SNBConstants.c_BottomRightResizeThumbId) as Thumb; 1057Thumb source = args.Source as Thumb; 1080Thumb source = args.Source as Thumb; 1298Thumb titleThumb = GetTitleThumb(); 1301titleThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1302titleThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 1305Thumb resizeThumb = GetResizeThumb(); 1308resizeThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1309resizeThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
System\Windows\Controls\ToolBarTray.cs (3)
45EventManager.RegisterClassHandler(typeof(ToolBarTray), Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnThumbDragDelta)); 506Thumb thumb = e.OriginalSource as Thumb;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
752case 658: t = () => typeof(Thumb); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7282typeof(System.Windows.Controls.Primitives.Thumb), // type 7286bamlMember.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)
10194typeof(System.Windows.Controls.Primitives.Thumb),
System\Windows\Markup\KnownTypes.cs (1)
6212case KnownElements.Thumb: t = typeof(System.Windows.Controls.Primitives.Thumb); break;
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (3)
36[TemplatePart(Name = RibbonMenuButton.ResizeThumbTemplatePartName, Type = typeof(Thumb))] 688_resizeThumb = GetTemplateChild(ResizeThumbTemplatePartName) as Thumb; 1329private Thumb _resizeThumb;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (3)
36[TemplatePart(Name = RibbonMenuItem.ResizeThumbTemplatePartName, Type = typeof(Thumb))] 628_resizeThumb = GetTemplateChild(ResizeThumbTemplatePartName) as Thumb; 1590private Thumb _resizeThumb;