1 write to Maximum
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1499
zoomSlider.
Maximum
= 50;
23 references to Maximum
PresentationFramework (23)
src\Framework\System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
63
if (val < owner.Minimum || val > owner.
Maximum
)
110
return ((RangeBase)Owner).
Maximum
;
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (3)
217
double max = ctrl.
Maximum
;
388
max =
Maximum
;
398
max =
Maximum
;
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (6)
430
newValue = Math.Min(Math.Max(newValue, Minimum),
Maximum
);
569
double newValue = Math.Min(Value + SmallChange,
Maximum
);
587
double newValue = Math.Min(Value + LargeChange,
Maximum
);
604
if (Value !=
Maximum
)
606
Value =
Maximum
;
733
bool canScrollNew = scrollBar.
Maximum
> scrollBar.Minimum;
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
171
double max =
Maximum
;
src\Framework\System\Windows\Controls\Slider.cs (11)
639
double max = slider.
Maximum
;
685
double max = slider.
Maximum
;
1004
double range =
Maximum
- Minimum;
1029
Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(
Maximum
- SelectionEnd, 0) * valueToSize);
1055
Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(
Maximum
- SelectionEnd,0) * valueToSize);
1104
double next =
Maximum
;
1141
next = Math.Min(
Maximum
, previous + TickFrequency);
1161
double next = SnapToTick(Math.Max(this.Minimum, Math.Min(this.
Maximum
, value + direction)));
1167
&& !( greaterThan && value ==
Maximum
) // Stop if searching up if already at Max
1332
this.SetCurrentValueInternal(ValueProperty, this.
Maximum
);
1357
this.SetCurrentValueInternal(ValueProperty, Math.Max(this.Minimum, Math.Min(this.
Maximum
, snappedValue)));