24 references to Maximum
PresentationFramework (24)
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
56
ArgumentOutOfRangeException.ThrowIfGreaterThan(val, owner.
Maximum
);
100
return ((RangeBase)Owner).
Maximum
;
System\Windows\Controls\Primitives\RangeBase.cs (3)
197
double max = ctrl.
Maximum
;
367
max =
Maximum
;
377
max =
Maximum
;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
408
newValue = Math.Min(Math.Max(newValue, Minimum),
Maximum
);
549
double newValue = Math.Min(Value + SmallChange,
Maximum
);
567
double newValue = Math.Min(Value + LargeChange,
Maximum
);
584
if (Value !=
Maximum
)
586
Value =
Maximum
;
713
bool canScrollNew = scrollBar.
Maximum
> scrollBar.Minimum;
System\Windows\Controls\ProgressBar.cs (1)
164
double max =
Maximum
;
System\Windows\Controls\Slider.cs (12)
607
double max = slider.
Maximum
;
653
double max = slider.
Maximum
;
971
double range =
Maximum
- Minimum;
996
Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(
Maximum
- SelectionEnd, 0) * valueToSize);
1022
Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(
Maximum
- SelectionEnd,0) * valueToSize);
1043
double range =
Maximum
- Minimum;
1151
double next =
Maximum
;
1188
next = Math.Min(
Maximum
, previous + TickFrequency);
1208
double next = SnapToTick(Math.Max(this.Minimum, Math.Min(this.
Maximum
, value + direction)));
1214
&& !( greaterThan && value ==
Maximum
) // Stop if searching up if already at Max
1382
this.SetCurrentValueInternal(ValueProperty, this.
Maximum
);
1407
this.SetCurrentValueInternal(ValueProperty, Math.Max(this.Minimum, Math.Min(this.
Maximum
, snappedValue)));