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