29 references to Minimum
PresentationFramework (29)
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
56
ArgumentOutOfRangeException.ThrowIfLessThan(val, owner.
Minimum
);
110
return ((RangeBase)Owner).
Minimum
;
System\Windows\Controls\Primitives\RangeBase.cs (4)
132
double min = ctrl.
Minimum
;
197
double min = ctrl.
Minimum
;
376
min =
Minimum
;
386
min =
Minimum
;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
409
newValue = Math.Min(Math.Max(newValue,
Minimum
), Maximum);
541
double newValue = Math.Max(Value - SmallChange,
Minimum
);
559
double newValue = Math.Max(Value - LargeChange,
Minimum
);
577
if (Value !=
Minimum
)
579
Value =
Minimum
;
714
bool canScrollNew = scrollBar.Maximum > scrollBar.
Minimum
;
System\Windows\Controls\ProgressBar.cs (1)
167
double min =
Minimum
;
System\Windows\Controls\Slider.cs (16)
625
double min = slider.
Minimum
;
990
double range = Maximum -
Minimum
;
1019
Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(SelectionStart -
Minimum
, 0) * valueToSize);
1037
Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(SelectionStart -
Minimum
, 0) * valueToSize);
1062
double range = Maximum -
Minimum
;
1077
rangeElement.Width = ((Value -
Minimum
) * valueToSize);
1101
rangeElement.Height = ((Value -
Minimum
) * valueToSize);
1169
double previous =
Minimum
;
1206
previous =
Minimum
+ (Math.Round(((value -
Minimum
) / TickFrequency)) * TickFrequency);
1227
double next = SnapToTick(Math.Max(this.
Minimum
, Math.Min(this.Maximum, value + direction)));
1234
&& !(!greaterThan && value ==
Minimum
)) // Stop if searching down if already at Min
1265
double tickNumber = Math.Round((value -
Minimum
) / TickFrequency);
1272
next =
Minimum
+ tickNumber * TickFrequency;
1409
this.SetCurrentValueInternal(ValueProperty, this.
Minimum
);
1426
this.SetCurrentValueInternal(ValueProperty, Math.Max(this.
Minimum
, Math.Min(this.Maximum, snappedValue)));