24 references to Maximum
PresentationFramework (24)
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
68
ArgumentOutOfRangeException.ThrowIfGreaterThan(val, owner.
Maximum
);
112
return ((RangeBase)Owner).
Maximum
;
System\Windows\Controls\Primitives\RangeBase.cs (3)
216
double max = ctrl.
Maximum
;
387
max =
Maximum
;
397
max =
Maximum
;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
425
newValue = Math.Min(Math.Max(newValue, Minimum),
Maximum
);
564
double newValue = Math.Min(Value + SmallChange,
Maximum
);
582
double newValue = Math.Min(Value + LargeChange,
Maximum
);
599
if (Value !=
Maximum
)
601
Value =
Maximum
;
728
bool canScrollNew = scrollBar.
Maximum
> scrollBar.Minimum;
System\Windows\Controls\ProgressBar.cs (1)
175
double max =
Maximum
;
System\Windows\Controls\Slider.cs (12)
637
double max = slider.
Maximum
;
683
double max = slider.
Maximum
;
999
double range =
Maximum
- Minimum;
1024
Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(
Maximum
- SelectionEnd, 0) * valueToSize);
1050
Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(
Maximum
- SelectionEnd,0) * valueToSize);
1071
double range =
Maximum
- Minimum;
1179
double next =
Maximum
;
1216
next = Math.Min(
Maximum
, previous + TickFrequency);
1236
double next = SnapToTick(Math.Max(this.Minimum, Math.Min(this.
Maximum
, value + direction)));
1242
&& !( greaterThan && value ==
Maximum
) // Stop if searching up if already at Max
1410
this.SetCurrentValueInternal(ValueProperty, this.
Maximum
);
1435
this.SetCurrentValueInternal(ValueProperty, Math.Max(this.Minimum, Math.Min(this.
Maximum
, snappedValue)));