2 instantiations of Slider
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9108
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)
13
public SliderAutomationPeer(
Slider
owner): base(owner)
System\Windows\Controls\Orientation.cs (1)
9
/// Examples of these elements include: <see cref="
Slider
" /> and <see cref="Primitives.ScrollBar" />.
System\Windows\Controls\Primitives\TickBar.cs (16)
150
Slider
.SelectionStartProperty.AddOwner(
170
Slider
.SelectionEndProperty.AddOwner(
190
Slider
.IsSelectionRangeEnabledProperty.AddOwner(
210
Slider
.TickFrequencyProperty.AddOwner(
230
Slider
.TicksProperty.AddOwner(
252
Slider
.IsDirectionReversedProperty.AddOwner(
679
Slider
parent = TemplatedParent as
Slider
;
682
BindToTemplatedParent(TicksProperty,
Slider
.TicksProperty);
683
BindToTemplatedParent(TickFrequencyProperty,
Slider
.TickFrequencyProperty);
684
BindToTemplatedParent(IsSelectionRangeEnabledProperty,
Slider
.IsSelectionRangeEnabledProperty);
685
BindToTemplatedParent(SelectionStartProperty,
Slider
.SelectionStartProperty);
686
BindToTemplatedParent(SelectionEndProperty,
Slider
.SelectionEndProperty);
687
BindToTemplatedParent(MinimumProperty,
Slider
.MinimumProperty);
688
BindToTemplatedParent(MaximumProperty,
Slider
.MaximumProperty);
689
BindToTemplatedParent(IsDirectionReversedProperty,
Slider
.IsDirectionReversedProperty);
System\Windows\Controls\Primitives\Track.cs (8)
732
Slider
slider = rangeBase as
Slider
;
736
BindToTemplatedParent(OrientationProperty,
Slider
.OrientationProperty);
737
BindToTemplatedParent(IsDirectionReversedProperty,
Slider
.IsDirectionReversedProperty);
739
BindChildToTemplatedParent(DecreaseRepeatButton, RepeatButton.DelayProperty,
Slider
.DelayProperty);
740
BindChildToTemplatedParent(DecreaseRepeatButton, RepeatButton.IntervalProperty,
Slider
.IntervalProperty);
741
BindChildToTemplatedParent(IncreaseRepeatButton, RepeatButton.DelayProperty,
Slider
.DelayProperty);
742
BindChildToTemplatedParent(IncreaseRepeatButton, RepeatButton.IntervalProperty,
Slider
.IntervalProperty);
System\Windows\Controls\Slider.cs (72)
56
MinimumProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(0.0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
57
MaximumProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(10.0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
58
ValueProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
61
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragStartedEvent, new DragStartedEventHandler(
Slider
.OnThumbDragStarted));
62
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragDeltaEvent, new DragDeltaEventHandler(
Slider
.OnThumbDragDelta));
63
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragCompletedEvent, new DragCompletedEventHandler(
Slider
.OnThumbDragCompleted));
66
EventManager.RegisterClassHandler(typeof(
Slider
), Mouse.MouseDownEvent, new MouseButtonEventHandler(
Slider
._OnMouseLeftButtonDown),true);
68
DefaultStyleKeyProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(typeof(
Slider
)));
69
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
Slider
));
130
_increaseLargeCommand = new RoutedCommand("IncreaseLarge", typeof(
Slider
));
131
_decreaseLargeCommand = new RoutedCommand("DecreaseLarge", typeof(
Slider
));
132
_increaseSmallCommand = new RoutedCommand("IncreaseSmall", typeof(
Slider
));
133
_decreaseSmallCommand = new RoutedCommand("DecreaseSmall", typeof(
Slider
));
134
_minimizeValueCommand = new RoutedCommand("MinimizeValue", typeof(
Slider
));
135
_maximizeValueCommand = new RoutedCommand("MaximizeValue", typeof(
Slider
));
137
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _increaseLargeCommand, new ExecutedRoutedEventHandler(OnIncreaseLargeCommand),
140
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _decreaseLargeCommand, new ExecutedRoutedEventHandler(OnDecreaseLargeCommand),
143
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _increaseSmallCommand, new ExecutedRoutedEventHandler(OnIncreaseSmallCommand),
147
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _decreaseSmallCommand, new ExecutedRoutedEventHandler(OnDecreaseSmallCommand),
151
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _minimizeValueCommand, new ExecutedRoutedEventHandler(OnMinimizeValueCommand),
154
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _maximizeValueCommand, new ExecutedRoutedEventHandler(OnMaximizeValueCommand),
173
Slider
slider = targetElement as
Slider
;
188
private bool IsInverted(
Slider
slider)
208
Slider
slider = sender as
Slider
;
217
Slider
slider = sender as
Slider
;
226
Slider
slider = sender as
Slider
;
235
Slider
slider = sender as
Slider
;
244
Slider
slider = sender as
Slider
;
253
Slider
slider = sender as
Slider
;
270
DependencyProperty.Register("Orientation", typeof(Orientation), typeof(
Slider
),
290
= DependencyProperty.Register("IsDirectionReversed", typeof(bool), typeof(
Slider
),
314
public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(
Slider
), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay()));
339
public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(
Slider
), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed()));
365
= DependencyProperty.Register("AutoToolTipPlacement", typeof(AutoToolTipPlacement), typeof(
Slider
),
402
= DependencyProperty.Register("AutoToolTipPrecision", typeof(int), typeof(
Slider
),
447
= DependencyProperty.Register("IsSnapToTickEnabled", typeof(bool), typeof(
Slider
),
470
= DependencyProperty.Register("TickPlacement", typeof(Primitives.TickPlacement), typeof(
Slider
),
506
= DependencyProperty.Register("TickFrequency", typeof(double), typeof(
Slider
),
534
= DependencyProperty.Register("Ticks", typeof(DoubleCollection), typeof(
Slider
),
570
= DependencyProperty.Register("IsSelectionRangeEnabled", typeof(bool), typeof(
Slider
),
593
= DependencyProperty.Register("SelectionStart", typeof(double), typeof(
Slider
),
612
Slider
ctrl = (
Slider
)d;
622
Slider
slider = (
Slider
)d;
643
= DependencyProperty.Register("SelectionEnd", typeof(double), typeof(
Slider
),
662
Slider
ctrl = (
Slider
)d;
668
Slider
slider = (
Slider
)d;
692
return ((
Slider
)d).SelectionEnd;
734
= DependencyProperty.Register("IsMoveToPointEnabled", typeof(bool), typeof(
Slider
),
792
Slider
slider = sender as
Slider
;
803
Slider
slider = sender as
Slider
;
815
Slider
slider = sender as
Slider
;
1305
Slider
slider = (
Slider
)sender;
System\Windows\Input\Command\CommandConverter.cs (3)
788
else if (ownerType == typeof(
Slider
))
793
return
Slider
.IncreaseLarge;
796
return
Slider
.DecreaseLarge;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
671
case 577: t = () => typeof(
Slider
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9106
typeof(System.Windows.Controls.
Slider
),
System\Windows\Markup\KnownTypes.cs (1)
6131
case KnownElements.Slider: t = typeof(System.Windows.Controls.
Slider
); break;