2 instantiations of Slider
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9106
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
Slider
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1542
case KnownElements.Slider: o = new System.Windows.Controls.
Slider
(); break;
107 references to Slider
PresentationFramework (104)
src\Framework\System\Windows\Automation\Peers\SliderAutomationPeer.cs (1)
17
public 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)
165
Slider
.SelectionStartProperty.AddOwner(
185
Slider
.SelectionEndProperty.AddOwner(
205
Slider
.IsSelectionRangeEnabledProperty.AddOwner(
225
Slider
.TickFrequencyProperty.AddOwner(
245
Slider
.TicksProperty.AddOwner(
267
Slider
.IsDirectionReversedProperty.AddOwner(
694
Slider
parent = TemplatedParent as
Slider
;
697
BindToTemplatedParent(TicksProperty,
Slider
.TicksProperty);
698
BindToTemplatedParent(TickFrequencyProperty,
Slider
.TickFrequencyProperty);
699
BindToTemplatedParent(IsSelectionRangeEnabledProperty,
Slider
.IsSelectionRangeEnabledProperty);
700
BindToTemplatedParent(SelectionStartProperty,
Slider
.SelectionStartProperty);
701
BindToTemplatedParent(SelectionEndProperty,
Slider
.SelectionEndProperty);
702
BindToTemplatedParent(MinimumProperty,
Slider
.MinimumProperty);
703
BindToTemplatedParent(MaximumProperty,
Slider
.MaximumProperty);
704
BindToTemplatedParent(IsDirectionReversedProperty,
Slider
.IsDirectionReversedProperty);
src\Framework\System\Windows\Controls\Primitives\Track.cs (8)
745
Slider
slider = rangeBase as
Slider
;
749
BindToTemplatedParent(OrientationProperty,
Slider
.OrientationProperty);
750
BindToTemplatedParent(IsDirectionReversedProperty,
Slider
.IsDirectionReversedProperty);
752
BindChildToTemplatedParent(DecreaseRepeatButton, RepeatButton.DelayProperty,
Slider
.DelayProperty);
753
BindChildToTemplatedParent(DecreaseRepeatButton, RepeatButton.IntervalProperty,
Slider
.IntervalProperty);
754
BindChildToTemplatedParent(IncreaseRepeatButton, RepeatButton.DelayProperty,
Slider
.DelayProperty);
755
BindChildToTemplatedParent(IncreaseRepeatButton, RepeatButton.IntervalProperty,
Slider
.IntervalProperty);
src\Framework\System\Windows\Controls\Slider.cs (72)
68
MinimumProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(0.0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
69
MaximumProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(10.0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
70
ValueProperty.OverrideMetadata(typeof(
Slider
), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure));
73
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragStartedEvent, new DragStartedEventHandler(
Slider
.OnThumbDragStarted));
74
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragDeltaEvent, new DragDeltaEventHandler(
Slider
.OnThumbDragDelta));
75
EventManager.RegisterClassHandler(typeof(
Slider
), Thumb.DragCompletedEvent, new DragCompletedEventHandler(
Slider
.OnThumbDragCompleted));
78
EventManager.RegisterClassHandler(typeof(
Slider
), Mouse.MouseDownEvent, new MouseButtonEventHandler(
Slider
._OnMouseLeftButtonDown),true);
80
DefaultStyleKeyProperty.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
));
149
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _increaseLargeCommand, new ExecutedRoutedEventHandler(OnIncreaseLargeCommand),
152
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _decreaseLargeCommand, new ExecutedRoutedEventHandler(OnDecreaseLargeCommand),
155
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _increaseSmallCommand, new ExecutedRoutedEventHandler(OnIncreaseSmallCommand),
159
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _decreaseSmallCommand, new ExecutedRoutedEventHandler(OnDecreaseSmallCommand),
163
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _minimizeValueCommand, new ExecutedRoutedEventHandler(OnMinimizeValueCommand),
166
CommandHelpers.RegisterCommandHandler(typeof(
Slider
), _maximizeValueCommand, new ExecutedRoutedEventHandler(OnMaximizeValueCommand),
186
Slider
slider = targetElement as
Slider
;
201
private bool IsInverted(
Slider
slider)
221
Slider
slider = sender as
Slider
;
230
Slider
slider = sender as
Slider
;
239
Slider
slider = sender as
Slider
;
248
Slider
slider = sender as
Slider
;
257
Slider
slider = sender as
Slider
;
266
Slider
slider = sender as
Slider
;
283
DependencyProperty.Register("Orientation", typeof(Orientation), typeof(
Slider
),
303
= DependencyProperty.Register("IsDirectionReversed", typeof(bool), typeof(
Slider
),
327
public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(
Slider
), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay()));
352
public 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
),
625
Slider
ctrl = (
Slider
)d;
635
Slider
slider = (
Slider
)d;
656
= DependencyProperty.Register("SelectionEnd", typeof(double), typeof(
Slider
),
675
Slider
ctrl = (
Slider
)d;
681
Slider
slider = (
Slider
)d;
705
return ((
Slider
)d).SelectionEnd;
747
= DependencyProperty.Register("IsMoveToPointEnabled", typeof(bool), typeof(
Slider
),
806
Slider
slider = sender as
Slider
;
817
Slider
slider = sender as
Slider
;
829
Slider
slider = sender as
Slider
;
1241
Slider
slider = (
Slider
)sender;
src\Framework\System\Windows\Input\Command\CommandConverter.cs (3)
807
else if (ownerType == typeof(
Slider
))
812
return
Slider
.IncreaseLarge;
815
return
Slider
.DecreaseLarge;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
669
case 577: t = () => typeof(
Slider
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9104
typeof(System.Windows.Controls.
Slider
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6121
case KnownElements.Slider: t = typeof(System.Windows.Controls.
Slider
); break;
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
1489
internal ZoomToTicksConverter(DesignerView designer,
Slider
zoomSlider, ComboBox zoomPicker)
1520
Path = new PropertyPath(
Slider
.ValueProperty),
1527
Path = new PropertyPath(
Slider
.ValueProperty),