1 type derived from Thumb
PresentationFramework (1)
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
85public class GridSplitter : Thumb
2 instantiations of Thumb
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10194bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Primitives.Thumb(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1605case KnownElements.Thumb: o = new System.Windows.Controls.Primitives.Thumb(); break;
87 references to Thumb
PresentationFramework (87)
src\Framework\System\Windows\Automation\Peers\ThumbAutomationPeer.cs (1)
21public ThumbAutomationPeer(Thumb owner): base(owner)
src\Framework\System\Windows\Controls\GridSplitter.cs (3)
91EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragStartedEvent, new DragStartedEventHandler(GridSplitter.OnDragStarted)); 92EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragDeltaEvent, new DragDeltaEventHandler(GridSplitter.OnDragDelta)); 93EventManager.RegisterClassHandler(typeof(GridSplitter), Thumb.DragCompletedEvent, new DragCompletedEventHandler(GridSplitter.OnDragCompleted));
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (3)
50[TemplatePart(Name = "PART_HeaderGripper", Type = typeof(Thumb))] 696_headerGripper = GetTemplateChild(HeaderGripperTemplateName) as Thumb; 1038private Thumb _headerGripper;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
25[TemplatePart(Name = "PART_LeftHeaderGripper", Type = typeof(Thumb))] 26[TemplatePart(Name = "PART_RightHeaderGripper", Type = typeof(Thumb))] 239_leftGripper = GetTemplateChild(LeftHeaderGripperTemplateName) as Thumb; 240_rightGripper = GetTemplateChild(RightHeaderGripperTemplateName) as Thumb; 1144private Thumb _leftGripper, _rightGripper;
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
22[TemplatePart(Name = "PART_TopHeaderGripper", Type = typeof(Thumb))] 23[TemplatePart(Name = "PART_BottomHeaderGripper", Type = typeof(Thumb))] 601_topGripper = GetTemplateChild(TopHeaderGripperTemplateName) as Thumb; 602_bottomGripper = GetTemplateChild(BottomHeaderGripperTemplateName) as Thumb; 792private Thumb _topGripper, _bottomGripper;
src\Framework\System\Windows\Controls\Primitives\DragCompletedEventArgs.cs (3)
11/// <seealso cref="Thumb.DragCompletedEvent" /> 25RoutedEvent=Thumb.DragCompletedEvent; 62/// <seealso cref="Thumb.DragCompletedEvent" />
src\Framework\System\Windows\Controls\Primitives\DragDeltaEventArgs.cs (3)
12/// <seealso cref="Thumb.DragDeltaEvent" /> 25RoutedEvent=Thumb.DragDeltaEvent; 51/// <seealso cref="Thumb.DragDeltaEvent" />
src\Framework\System\Windows\Controls\Primitives\DragStartedEventArgs.cs (3)
12/// <seealso cref="Thumb.DragStartedEvent" /> 25RoutedEvent=Thumb.DragStartedEvent; 51/// <seealso cref="Thumb.DragStartedEvent" />
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (3)
700EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragStartedEvent, new DragStartedEventHandler(OnThumbDragStarted)); 701EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnThumbDragDelta)); 702EventManager.RegisterClassHandler(typeof(ScrollBar), Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnThumbDragCompleted));
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (15)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb))); 52_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Thumb)); 53FocusableProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox)); 55EventManager.RegisterClassHandler(typeof(Thumb), Mouse.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCapture)); 57IsEnabledProperty.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 58IsMouseOverPropertyKey.OverrideMetadata(typeof(Thumb), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 68public static readonly RoutedEvent DragStartedEvent = EventManager.RegisterRoutedEvent("DragStarted", RoutingStrategy.Bubble, typeof(DragStartedEventHandler), typeof(Thumb)); 73public static readonly RoutedEvent DragDeltaEvent = EventManager.RegisterRoutedEvent("DragDelta", RoutingStrategy.Bubble, typeof(DragDeltaEventHandler), typeof(Thumb)); 78public static readonly RoutedEvent DragCompletedEvent = EventManager.RegisterRoutedEvent("DragCompleted", RoutingStrategy.Bubble, typeof(DragCompletedEventHandler), typeof(Thumb)); 103typeof(Thumb), 134var thumb = (Thumb)d; 281Thumb thumb = (Thumb)sender;
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (2)
713binding.Path = new PropertyPath(Thumb.ActualWidthProperty); 717binding.Path = new PropertyPath(Thumb.ActualHeightProperty);
src\Framework\System\Windows\Controls\Primitives\Track.cs (2)
197public Thumb Thumb 859private Thumb _thumb;
src\Framework\System\Windows\Controls\Slider.cs (9)
73EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragStartedEvent, new DragStartedEventHandler(Slider.OnThumbDragStarted)); 74EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragDeltaEvent, new DragDeltaEventHandler(Slider.OnThumbDragDelta)); 75EventManager.RegisterClassHandler(typeof(Slider), Thumb.DragCompletedEvent, new DragCompletedEventHandler(Slider.OnThumbDragCompleted)); 841Thumb thumb = e.OriginalSource as Thumb; 872Thumb thumb = e.OriginalSource as Thumb; 922Thumb thumb = e.OriginalSource as Thumb;
src\Framework\System\Windows\Controls\StickyNote.cs (22)
81[TemplatePart(Name = SNBConstants.c_TitleThumbId, Type = typeof(Thumb))] 82[TemplatePart(Name = SNBConstants.c_BottomRightResizeThumbId, Type = typeof(Thumb))] 220Thumb titleThumb = GetTitleThumb(); 223titleThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 224titleThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 227Thumb resizeThumb = GetResizeThumb(); 230resizeThumb.AddHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 231resizeThumb.AddHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 738private Thumb GetTitleThumb() 740return GetTemplateChild(SNBConstants.c_TitleThumbId) as Thumb; 754private Thumb GetResizeThumb() 756return GetTemplateChild(SNBConstants.c_BottomRightResizeThumbId) as Thumb; 1083Thumb source = args.Source as Thumb; 1106Thumb source = args.Source as Thumb; 1324Thumb titleThumb = GetTitleThumb(); 1327titleThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1328titleThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted)); 1331Thumb resizeThumb = GetResizeThumb(); 1334resizeThumb.RemoveHandler(Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnDragDelta)); 1335resizeThumb.RemoveHandler(Thumb.DragCompletedEvent, new DragCompletedEventHandler(OnDragCompleted));
src\Framework\System\Windows\Controls\ToolBarTray.cs (3)
54EventManager.RegisterClassHandler(typeof(ToolBarTray), Thumb.DragDeltaEvent, new DragDeltaEventHandler(OnThumbDragDelta)); 525Thumb thumb = e.OriginalSource as Thumb;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
750case 658: t = () => typeof(Thumb); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7242typeof(System.Windows.Controls.Primitives.Thumb), // type 7246bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Primitives.Track)target).Thumb = (System.Windows.Controls.Primitives.Thumb)value; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10192typeof(System.Windows.Controls.Primitives.Thumb),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6202case KnownElements.Thumb: t = typeof(System.Windows.Controls.Primitives.Thumb); break;