24 references to Maximum
PresentationFramework (24)
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
57
ArgumentOutOfRangeException.ThrowIfGreaterThan(val, owner.
Maximum
);
101
return ((RangeBase)Owner).
Maximum
;
System\Windows\Controls\Primitives\RangeBase.cs (3)
198
double max = ctrl.
Maximum
;
368
max =
Maximum
;
378
max =
Maximum
;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
409
newValue = Math.Min(Math.Max(newValue, Minimum),
Maximum
);
550
double newValue = Math.Min(Value + SmallChange,
Maximum
);
568
double newValue = Math.Min(Value + LargeChange,
Maximum
);
585
if (Value !=
Maximum
)
587
Value =
Maximum
;
714
bool canScrollNew = scrollBar.
Maximum
> scrollBar.Minimum;
System\Windows\Controls\ProgressBar.cs (1)
165
double max =
Maximum
;
System\Windows\Controls\Slider.cs (12)
608
double max = slider.
Maximum
;
654
double max = slider.
Maximum
;
972
double range =
Maximum
- Minimum;
997
Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(
Maximum
- SelectionEnd, 0) * valueToSize);
1023
Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(
Maximum
- SelectionEnd,0) * valueToSize);
1044
double range =
Maximum
- Minimum;
1152
double next =
Maximum
;
1189
next = Math.Min(
Maximum
, previous + TickFrequency);
1209
double next = SnapToTick(Math.Max(this.Minimum, Math.Min(this.
Maximum
, value + direction)));
1215
&& !( greaterThan && value ==
Maximum
) // Stop if searching up if already at Max
1383
this.SetCurrentValueInternal(ValueProperty, this.
Maximum
);
1408
this.SetCurrentValueInternal(ValueProperty, Math.Max(this.Minimum, Math.Min(this.
Maximum
, snappedValue)));