2 instantiations of Slider
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9106bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Slider(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1542case KnownElements.Slider: o = new System.Windows.Controls.Slider(); break;
107 references to Slider
PresentationFramework (104)
src\Framework\System\Windows\Automation\Peers\SliderAutomationPeer.cs (1)
17public SliderAutomationPeer(Slider owner): base(owner)
src\Framework\System\Windows\Controls\Orientation.cs (1)
8/// Examples of these elements include: <see cref="Slider" /> and <see cref="Primitives.ScrollBar" />.
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (16)
165Slider.SelectionStartProperty.AddOwner( 185Slider.SelectionEndProperty.AddOwner( 205Slider.IsSelectionRangeEnabledProperty.AddOwner( 225Slider.TickFrequencyProperty.AddOwner( 245Slider.TicksProperty.AddOwner( 267Slider.IsDirectionReversedProperty.AddOwner( 694Slider parent = TemplatedParent as Slider; 697BindToTemplatedParent(TicksProperty, Slider.TicksProperty); 698BindToTemplatedParent(TickFrequencyProperty, Slider.TickFrequencyProperty); 699BindToTemplatedParent(IsSelectionRangeEnabledProperty, Slider.IsSelectionRangeEnabledProperty); 700BindToTemplatedParent(SelectionStartProperty, Slider.SelectionStartProperty); 701BindToTemplatedParent(SelectionEndProperty, Slider.SelectionEndProperty); 702BindToTemplatedParent(MinimumProperty, Slider.MinimumProperty); 703BindToTemplatedParent(MaximumProperty, Slider.MaximumProperty); 704BindToTemplatedParent(IsDirectionReversedProperty, Slider.IsDirectionReversedProperty);
src\Framework\System\Windows\Controls\Primitives\Track.cs (8)
745Slider slider = rangeBase as Slider; 749BindToTemplatedParent(OrientationProperty, Slider.OrientationProperty); 750BindToTemplatedParent(IsDirectionReversedProperty, Slider.IsDirectionReversedProperty); 752BindChildToTemplatedParent(DecreaseRepeatButton, RepeatButton.DelayProperty, Slider.DelayProperty); 753BindChildToTemplatedParent(DecreaseRepeatButton, RepeatButton.IntervalProperty, Slider.IntervalProperty); 754BindChildToTemplatedParent(IncreaseRepeatButton, RepeatButton.DelayProperty, Slider.DelayProperty); 755BindChildToTemplatedParent(IncreaseRepeatButton, RepeatButton.IntervalProperty, Slider.IntervalProperty);
src\Framework\System\Windows\Controls\Slider.cs (72)
68MinimumProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(0.0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 69MaximumProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(10.0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 70ValueProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 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)); 78EventManager.RegisterClassHandler(typeof(Slider), Mouse.MouseDownEvent, new MouseButtonEventHandler(Slider._OnMouseLeftButtonDown),true); 80DefaultStyleKeyProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(typeof(Slider))); 81_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Slider)); 142_increaseLargeCommand = new RoutedCommand("IncreaseLarge", typeof(Slider)); 143_decreaseLargeCommand = new RoutedCommand("DecreaseLarge", typeof(Slider)); 144_increaseSmallCommand = new RoutedCommand("IncreaseSmall", typeof(Slider)); 145_decreaseSmallCommand = new RoutedCommand("DecreaseSmall", typeof(Slider)); 146_minimizeValueCommand = new RoutedCommand("MinimizeValue", typeof(Slider)); 147_maximizeValueCommand = new RoutedCommand("MaximizeValue", typeof(Slider)); 149CommandHelpers.RegisterCommandHandler(typeof(Slider), _increaseLargeCommand, new ExecutedRoutedEventHandler(OnIncreaseLargeCommand), 152CommandHelpers.RegisterCommandHandler(typeof(Slider), _decreaseLargeCommand, new ExecutedRoutedEventHandler(OnDecreaseLargeCommand), 155CommandHelpers.RegisterCommandHandler(typeof(Slider), _increaseSmallCommand, new ExecutedRoutedEventHandler(OnIncreaseSmallCommand), 159CommandHelpers.RegisterCommandHandler(typeof(Slider), _decreaseSmallCommand, new ExecutedRoutedEventHandler(OnDecreaseSmallCommand), 163CommandHelpers.RegisterCommandHandler(typeof(Slider), _minimizeValueCommand, new ExecutedRoutedEventHandler(OnMinimizeValueCommand), 166CommandHelpers.RegisterCommandHandler(typeof(Slider), _maximizeValueCommand, new ExecutedRoutedEventHandler(OnMaximizeValueCommand), 186Slider slider = targetElement as Slider; 201private bool IsInverted(Slider slider) 221Slider slider = sender as Slider; 230Slider slider = sender as Slider; 239Slider slider = sender as Slider; 248Slider slider = sender as Slider; 257Slider slider = sender as Slider; 266Slider slider = sender as Slider; 283DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Slider), 303= DependencyProperty.Register("IsDirectionReversed", typeof(bool), typeof(Slider), 327public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay())); 352public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed())); 378= DependencyProperty.Register("AutoToolTipPlacement", typeof(AutoToolTipPlacement), typeof(Slider), 415= DependencyProperty.Register("AutoToolTipPrecision", typeof(int), typeof(Slider), 460= DependencyProperty.Register("IsSnapToTickEnabled", typeof(bool), typeof(Slider), 483= DependencyProperty.Register("TickPlacement", typeof(Primitives.TickPlacement), typeof(Slider), 519= DependencyProperty.Register("TickFrequency", typeof(double), typeof(Slider), 547= DependencyProperty.Register("Ticks", typeof(DoubleCollection), typeof(Slider), 583= DependencyProperty.Register("IsSelectionRangeEnabled", typeof(bool), typeof(Slider), 606= DependencyProperty.Register("SelectionStart", typeof(double), typeof(Slider), 625Slider ctrl = (Slider)d; 635Slider slider = (Slider)d; 656= DependencyProperty.Register("SelectionEnd", typeof(double), typeof(Slider), 675Slider ctrl = (Slider)d; 681Slider slider = (Slider)d; 705return ((Slider)d).SelectionEnd; 747= DependencyProperty.Register("IsMoveToPointEnabled", typeof(bool), typeof(Slider), 806Slider slider = sender as Slider; 817Slider slider = sender as Slider; 829Slider slider = sender as Slider; 1241Slider slider = (Slider)sender;
src\Framework\System\Windows\Input\Command\CommandConverter.cs (3)
807else if (ownerType == typeof(Slider)) 812return Slider.IncreaseLarge; 815return Slider.DecreaseLarge;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
669case 577: t = () => typeof(Slider); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9104typeof(System.Windows.Controls.Slider),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6121case KnownElements.Slider: t = typeof(System.Windows.Controls.Slider); break;
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
1489internal ZoomToTicksConverter(DesignerView designer, Slider zoomSlider, ComboBox zoomPicker) 1520Path = new PropertyPath(Slider.ValueProperty), 1527Path = new PropertyPath(Slider.ValueProperty),