2 instantiations of Slider
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9110
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
Slider
(); };
System\Windows\Markup\KnownTypes.cs (1)
1541
case KnownElements.Slider: o = new System.Windows.Controls.
Slider
(); break;
104 references to Slider
PresentationFramework (104)
System\Windows\Automation\Peers\SliderAutomationPeer.cs (1)
21
public SliderAutomationPeer(
Slider
owner): base(owner)
System\Windows\Controls\Orientation.cs (1)
12
/// Examples of these elements include: <see cref="
Slider
" /> and <see cref="Primitives.ScrollBar" />.
System\Windows\Controls\Primitives\TickBar.cs (16)
164
Slider
.SelectionStartProperty.AddOwner(
184
Slider
.SelectionEndProperty.AddOwner(
204
Slider
.IsSelectionRangeEnabledProperty.AddOwner(
224
Slider
.TickFrequencyProperty.AddOwner(
244
Slider
.TicksProperty.AddOwner(
266
Slider
.IsDirectionReversedProperty.AddOwner(
693
Slider
parent = TemplatedParent as
Slider
;
696
BindToTemplatedParent(TicksProperty,
Slider
.TicksProperty);
697
BindToTemplatedParent(TickFrequencyProperty,
Slider
.TickFrequencyProperty);
698
BindToTemplatedParent(IsSelectionRangeEnabledProperty,
Slider
.IsSelectionRangeEnabledProperty);
699
BindToTemplatedParent(SelectionStartProperty,
Slider
.SelectionStartProperty);
700
BindToTemplatedParent(SelectionEndProperty,
Slider
.SelectionEndProperty);
701
BindToTemplatedParent(MinimumProperty,
Slider
.MinimumProperty);
702
BindToTemplatedParent(MaximumProperty,
Slider
.MaximumProperty);
703
BindToTemplatedParent(IsDirectionReversedProperty,
Slider
.IsDirectionReversedProperty);
System\Windows\Controls\Primitives\Track.cs (8)
743
Slider
slider = rangeBase as
Slider
;
747
BindToTemplatedParent(OrientationProperty,
Slider
.OrientationProperty);
748
BindToTemplatedParent(IsDirectionReversedProperty,
Slider
.IsDirectionReversedProperty);
750
BindChildToTemplatedParent(DecreaseRepeatButton, RepeatButton.DelayProperty,
Slider
.DelayProperty);
751
BindChildToTemplatedParent(DecreaseRepeatButton, RepeatButton.IntervalProperty,
Slider
.IntervalProperty);
752
BindChildToTemplatedParent(IncreaseRepeatButton, RepeatButton.DelayProperty,
Slider
.DelayProperty);
753
BindChildToTemplatedParent(IncreaseRepeatButton, RepeatButton.IntervalProperty,
Slider
.IntervalProperty);
System\Windows\Controls\Slider.cs (72)
67
MinimumProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(0.0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
68
MaximumProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(10.0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
69
ValueProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
72
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragStartedEvent, new DragStartedEventHandler(
Slider
.OnThumbDragStarted));
73
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragDeltaEvent, new DragDeltaEventHandler(
Slider
.OnThumbDragDelta));
74
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragCompletedEvent, new DragCompletedEventHandler(
Slider
.OnThumbDragCompleted));
77
EventManager.RegisterClassHandler(typeof(
Slider
), Mouse.MouseDownEvent, new MouseButtonEventHandler(
Slider
._OnMouseLeftButtonDown),true);
79
DefaultStyleKeyProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(typeof(
Slider
)));
80
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
Slider
));
141
_increaseLargeCommand = new RoutedCommand("IncreaseLarge", typeof(
Slider
));
142
_decreaseLargeCommand = new RoutedCommand("DecreaseLarge", typeof(
Slider
));
143
_increaseSmallCommand = new RoutedCommand("IncreaseSmall", typeof(
Slider
));
144
_decreaseSmallCommand = new RoutedCommand("DecreaseSmall", typeof(
Slider
));
145
_minimizeValueCommand = new RoutedCommand("MinimizeValue", typeof(
Slider
));
146
_maximizeValueCommand = new RoutedCommand("MaximizeValue", typeof(
Slider
));
148
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _increaseLargeCommand, new ExecutedRoutedEventHandler(OnIncreaseLargeCommand),
151
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _decreaseLargeCommand, new ExecutedRoutedEventHandler(OnDecreaseLargeCommand),
154
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _increaseSmallCommand, new ExecutedRoutedEventHandler(OnIncreaseSmallCommand),
158
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _decreaseSmallCommand, new ExecutedRoutedEventHandler(OnDecreaseSmallCommand),
162
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _minimizeValueCommand, new ExecutedRoutedEventHandler(OnMinimizeValueCommand),
165
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _maximizeValueCommand, new ExecutedRoutedEventHandler(OnMaximizeValueCommand),
184
Slider
slider = targetElement as
Slider
;
199
private bool IsInverted(
Slider
slider)
219
Slider
slider = sender as
Slider
;
228
Slider
slider = sender as
Slider
;
237
Slider
slider = sender as
Slider
;
246
Slider
slider = sender as
Slider
;
255
Slider
slider = sender as
Slider
;
264
Slider
slider = sender as
Slider
;
281
DependencyProperty.Register("Orientation", typeof(Orientation), typeof(
Slider
),
301
= DependencyProperty.Register("IsDirectionReversed", typeof(bool), typeof(
Slider
),
325
public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(
Slider
), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay()));
350
public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(
Slider
), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed()));
376
= DependencyProperty.Register("AutoToolTipPlacement", typeof(AutoToolTipPlacement), typeof(
Slider
),
413
= DependencyProperty.Register("AutoToolTipPrecision", typeof(int), typeof(
Slider
),
458
= DependencyProperty.Register("IsSnapToTickEnabled", typeof(bool), typeof(
Slider
),
481
= DependencyProperty.Register("TickPlacement", typeof(Primitives.TickPlacement), typeof(
Slider
),
517
= DependencyProperty.Register("TickFrequency", typeof(double), typeof(
Slider
),
545
= DependencyProperty.Register("Ticks", typeof(DoubleCollection), typeof(
Slider
),
581
= DependencyProperty.Register("IsSelectionRangeEnabled", typeof(bool), typeof(
Slider
),
604
= DependencyProperty.Register("SelectionStart", typeof(double), typeof(
Slider
),
623
Slider
ctrl = (
Slider
)d;
633
Slider
slider = (
Slider
)d;
654
= DependencyProperty.Register("SelectionEnd", typeof(double), typeof(
Slider
),
673
Slider
ctrl = (
Slider
)d;
679
Slider
slider = (
Slider
)d;
703
return ((
Slider
)d).SelectionEnd;
745
= DependencyProperty.Register("IsMoveToPointEnabled", typeof(bool), typeof(
Slider
),
803
Slider
slider = sender as
Slider
;
814
Slider
slider = sender as
Slider
;
826
Slider
slider = sender as
Slider
;
1316
Slider
slider = (
Slider
)sender;
System\Windows\Input\Command\CommandConverter.cs (3)
793
else if (ownerType == typeof(
Slider
))
798
return
Slider
.IncreaseLarge;
801
return
Slider
.DecreaseLarge;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
673
case 577: t = () => typeof(
Slider
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9108
typeof(System.Windows.Controls.
Slider
),
System\Windows\Markup\KnownTypes.cs (1)
6131
case KnownElements.Slider: t = typeof(System.Windows.Controls.
Slider
); break;