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)
204
double max = ctrl.
Maximum
;
375
max =
Maximum
;
385
max =
Maximum
;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
409
newValue = Math.Min(Math.Max(newValue, Minimum),
Maximum
);
548
double newValue = Math.Min(Value + SmallChange,
Maximum
);
566
double newValue = Math.Min(Value + LargeChange,
Maximum
);
583
if (Value !=
Maximum
)
585
Value =
Maximum
;
712
bool canScrollNew = scrollBar.
Maximum
> scrollBar.Minimum;
System\Windows\Controls\ProgressBar.cs (1)
168
double max =
Maximum
;
System\Windows\Controls\Slider.cs (12)
626
double max = slider.
Maximum
;
672
double max = slider.
Maximum
;
988
double range =
Maximum
- Minimum;
1013
Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(
Maximum
- SelectionEnd, 0) * valueToSize);
1039
Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(
Maximum
- SelectionEnd,0) * valueToSize);
1060
double range =
Maximum
- Minimum;
1168
double next =
Maximum
;
1205
next = Math.Min(
Maximum
, previous + TickFrequency);
1225
double next = SnapToTick(Math.Max(this.Minimum, Math.Min(this.
Maximum
, value + direction)));
1231
&& !( greaterThan && value ==
Maximum
) // Stop if searching up if already at Max
1399
this.SetCurrentValueInternal(ValueProperty, this.
Maximum
);
1424
this.SetCurrentValueInternal(ValueProperty, Math.Max(this.Minimum, Math.Min(this.
Maximum
, snappedValue)));