29 references to Minimum
PresentationFramework (29)
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
67
ArgumentOutOfRangeException.ThrowIfLessThan(val, owner.
Minimum
);
121
return ((RangeBase)Owner).
Minimum
;
System\Windows\Controls\Primitives\RangeBase.cs (4)
144
double min = ctrl.
Minimum
;
209
double min = ctrl.
Minimum
;
386
min =
Minimum
;
396
min =
Minimum
;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
425
newValue = Math.Min(Math.Max(newValue,
Minimum
), Maximum);
555
double newValue = Math.Max(Value - SmallChange,
Minimum
);
573
double newValue = Math.Max(Value - LargeChange,
Minimum
);
591
if (Value !=
Minimum
)
593
Value =
Minimum
;
728
bool canScrollNew = scrollBar.Maximum > scrollBar.
Minimum
;
System\Windows\Controls\ProgressBar.cs (1)
174
double min =
Minimum
;
System\Windows\Controls\Slider.cs (16)
636
double min = slider.
Minimum
;
999
double range = Maximum -
Minimum
;
1028
Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(SelectionStart -
Minimum
, 0) * valueToSize);
1046
Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(SelectionStart -
Minimum
, 0) * valueToSize);
1071
double range = Maximum -
Minimum
;
1086
rangeElement.Width = ((Value -
Minimum
) * valueToSize);
1110
rangeElement.Height = ((Value -
Minimum
) * valueToSize);
1178
double previous =
Minimum
;
1215
previous =
Minimum
+ (Math.Round(((value -
Minimum
) / TickFrequency)) * TickFrequency);
1236
double next = SnapToTick(Math.Max(this.
Minimum
, Math.Min(this.Maximum, value + direction)));
1243
&& !(!greaterThan && value ==
Minimum
)) // Stop if searching down if already at Min
1274
double tickNumber = Math.Round((value -
Minimum
) / TickFrequency);
1281
next =
Minimum
+ tickNumber * TickFrequency;
1418
this.SetCurrentValueInternal(ValueProperty, this.
Minimum
);
1435
this.SetCurrentValueInternal(ValueProperty, Math.Max(this.
Minimum
, Math.Min(this.Maximum, snappedValue)));