1 type derived from Thumb
PresentationFramework (1)
System\Windows\Controls\GridSplitter.cs (1)
84public class GridSplitter : Thumb
2 instantiations of Thumb
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10198bamlType.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)
25public ThumbAutomationPeer(Thumb owner): base(owner)
System\Windows\Controls\GridSplitter.cs (3)
90EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragStartedEvent, new DragStartedEventHandler(GridSplitter.OnDragStarted)); 91EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragDeltaEvent, new DragDeltaEventHandler(GridSplitter.OnDragDelta)); 92EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragCompletedEvent, new DragCompletedEventHandler(GridSplitter.OnDragCompleted));
System\Windows\Controls\GridViewColumnHeader.cs (3)
47[TemplatePart(Name = "PART_HeaderGripper", Type = typeof(Thumb))] 706_headerGripper = GetTemplateChild(HeaderGripperTemplateName) as Thumb; 1005private Thumb _headerGripper;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
24[TemplatePart(Name = "PART_LeftHeaderGripper", Type = typeof(Thumb))] 25[TemplatePart(Name = "PART_RightHeaderGripper", Type = typeof(Thumb))] 238_leftGripper = GetTemplateChild(LeftHeaderGripperTemplateName) as Thumb; 239_rightGripper = GetTemplateChild(RightHeaderGripperTemplateName) as Thumb; 1143private Thumb _leftGripper, _rightGripper;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
21[TemplatePart(Name = "PART_TopHeaderGripper", Type = typeof(Thumb))] 22[TemplatePart(Name = "PART_BottomHeaderGripper", Type = typeof(Thumb))] 600_topGripper = GetTemplateChild(TopHeaderGripperTemplateName) as Thumb; 601_bottomGripper = GetTemplateChild(BottomHeaderGripperTemplateName) as Thumb; 791private Thumb _topGripper, _bottomGripper;
System\Windows\Controls\Primitives\DragCompletedEventArgs.cs (3)
15/// <seealso cref="Thumb.DragCompletedEvent" /> 29RoutedEvent=Thumb.DragCompletedEvent; 66/// <seealso cref="Thumb.DragCompletedEvent" />
System\Windows\Controls\Primitives\DragDeltaEventArgs.cs (3)
16/// <seealso cref="Thumb.DragDeltaEvent" /> 29RoutedEvent=Thumb.DragDeltaEvent; 55/// <seealso cref="Thumb.DragDeltaEvent" />
System\Windows\Controls\Primitives\DragStartedEventArgs.cs (3)
16/// <seealso cref="Thumb.DragStartedEvent" /> 29RoutedEvent=Thumb.DragStartedEvent; 55/// <seealso cref="Thumb.DragStartedEvent" />
System\Windows\Controls\Primitives\ScrollBar.cs (3)
695EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragStartedEvent, new DragStartedEventHandler(OnThumbDragStarted)); 696EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnThumbDragDelta)); 697EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnThumbDragCompleted));
System\Windows\Controls\Primitives\Thumb.cs (15)
54DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb))); 55_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Thumb)); 56FocusableProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox)); 58EventManager.RegisterClassHandler(typeof(Thumb), Mouse.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCapture)); 60IsEnabledProperty.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 61IsMouseOverPropertyKey.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 71public static readonly RoutedEvent DragStartedEvent = EventManager.RegisterRoutedEvent("DragStarted", RoutingStrategy.Bubble, typeof(DragStartedEventHandler), typeof(Thumb)); 76public static readonly RoutedEvent DragDeltaEvent = EventManager.RegisterRoutedEvent("DragDelta", RoutingStrategy.Bubble, typeof(DragDeltaEventHandler), typeof(Thumb)); 81public static readonly RoutedEvent DragCompletedEvent = EventManager.RegisterRoutedEvent("DragCompleted", RoutingStrategy.Bubble, typeof(DragCompletedEventHandler), typeof(Thumb)); 106typeof(Thumb), 137var thumb = (Thumb)d; 284Thumb thumb = (Thumb)sender;
System\Windows\Controls\Primitives\TickBar.cs (2)
712binding.Path = new PropertyPath(Thumb.ActualWidthProperty); 716binding.Path = new PropertyPath(Thumb.ActualHeightProperty);
System\Windows\Controls\Primitives\Track.cs (2)
195public Thumb Thumb 857private Thumb _thumb;
System\Windows\Controls\Slider.cs (9)
72EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragStartedEvent, new DragStartedEventHandler(Slider.OnThumbDragStarted)); 73EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragDeltaEvent, new DragDeltaEventHandler(Slider.OnThumbDragDelta)); 74EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragCompletedEvent, new DragCompletedEventHandler(Slider.OnThumbDragCompleted)); 838Thumb thumb = e.OriginalSource as Thumb; 869Thumb thumb = e.OriginalSource as Thumb; 918Thumb thumb = e.OriginalSource as Thumb;
System\Windows\Controls\StickyNote.cs (22)
71[TemplatePart(Name = SNBConstants.c_TitleThumbId, Type = typeof(Thumb))] 72[TemplatePart(Name = SNBConstants.c_BottomRightResizeThumbId, Type = typeof(Thumb))] 210Thumb titleThumb = GetTitleThumb(); 213titleThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 214titleThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 217Thumb resizeThumb = GetResizeThumb(); 220resizeThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 221resizeThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 728private Thumb GetTitleThumb() 730return GetTemplateChild(SNBConstants.c_TitleThumbId) as Thumb; 744private Thumb GetResizeThumb() 746return GetTemplateChild(SNBConstants.c_BottomRightResizeThumbId) as Thumb; 1073Thumb source = args.Source as Thumb; 1096Thumb source = args.Source as Thumb; 1314Thumb titleThumb = GetTitleThumb(); 1317titleThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1318titleThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 1321Thumb resizeThumb = GetResizeThumb(); 1324resizeThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1325resizeThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
System\Windows\Controls\ToolBarTray.cs (3)
53EventManager.RegisterClassHandler(typeof(ToolBarTray), Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnThumbDragDelta)); 514Thumb thumb = e.OriginalSource as Thumb;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
754case 658: t = () => typeof(Thumb); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7284typeof(System.Windows.Controls.Primitives.Thumb), // type 7288bamlMember.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)
10196typeof(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)
39[TemplatePart(Name = RibbonMenuButton.ResizeThumbTemplatePartName, Type = typeof(Thumb))] 691_resizeThumb = GetTemplateChild(ResizeThumbTemplatePartName) as Thumb; 1332private Thumb _resizeThumb;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (3)
39[TemplatePart(Name = RibbonMenuItem.ResizeThumbTemplatePartName, Type = typeof(Thumb))] 631_resizeThumb = GetTemplateChild(ResizeThumbTemplatePartName) as Thumb; 1593private Thumb _resizeThumb;