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
;
374
min =
Minimum
;
384
min =
Minimum
;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
409
newValue = Math.Min(Math.Max(newValue,
Minimum
), Maximum);
539
double newValue = Math.Max(Value - SmallChange,
Minimum
);
557
double newValue = Math.Max(Value - LargeChange,
Minimum
);
575
if (Value !=
Minimum
)
577
Value =
Minimum
;
712
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
;
988
double range = Maximum -
Minimum
;
1017
Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(SelectionStart -
Minimum
, 0) * valueToSize);
1035
Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(SelectionStart -
Minimum
, 0) * valueToSize);
1060
double range = Maximum -
Minimum
;
1075
rangeElement.Width = ((Value -
Minimum
) * valueToSize);
1099
rangeElement.Height = ((Value -
Minimum
) * valueToSize);
1167
double previous =
Minimum
;
1204
previous =
Minimum
+ (Math.Round(((value -
Minimum
) / TickFrequency)) * TickFrequency);
1225
double next = SnapToTick(Math.Max(this.
Minimum
, Math.Min(this.Maximum, value + direction)));
1232
&& !(!greaterThan && value ==
Minimum
)) // Stop if searching down if already at Min
1263
double tickNumber = Math.Round((value -
Minimum
) / TickFrequency);
1270
next =
Minimum
+ tickNumber * TickFrequency;
1407
this.SetCurrentValueInternal(ValueProperty, this.
Minimum
);
1424
this.SetCurrentValueInternal(ValueProperty, Math.Max(this.
Minimum
, Math.Min(this.Maximum, snappedValue)));