29 references to Minimum
PresentationFramework (29)
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
56ArgumentOutOfRangeException.ThrowIfLessThan(val, owner.Minimum); 110return ((RangeBase)Owner).Minimum;
System\Windows\Controls\Primitives\RangeBase.cs (4)
132double min = ctrl.Minimum; 197double min = ctrl.Minimum; 374min = Minimum; 384min = Minimum;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
409newValue = Math.Min(Math.Max(newValue, Minimum), Maximum); 539double newValue = Math.Max(Value - SmallChange, Minimum); 557double newValue = Math.Max(Value - LargeChange, Minimum); 575if (Value != Minimum) 577Value = Minimum; 712bool canScrollNew = scrollBar.Maximum > scrollBar.Minimum;
System\Windows\Controls\ProgressBar.cs (1)
167double min = Minimum;
System\Windows\Controls\Slider.cs (16)
625double min = slider.Minimum; 988double range = Maximum - Minimum; 1017Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize); 1035Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize); 1060double range = Maximum - Minimum; 1075rangeElement.Width = ((Value - Minimum) * valueToSize); 1099rangeElement.Height = ((Value - Minimum) * valueToSize); 1167double previous = Minimum; 1204previous = Minimum + (Math.Round(((value - Minimum) / TickFrequency)) * TickFrequency); 1225double next = SnapToTick(Math.Max(this.Minimum, Math.Min(this.Maximum, value + direction))); 1232&& !(!greaterThan && value == Minimum)) // Stop if searching down if already at Min 1263double tickNumber = Math.Round((value - Minimum) / TickFrequency); 1270next = Minimum + tickNumber * TickFrequency; 1407this.SetCurrentValueInternal(ValueProperty, this.Minimum); 1424this.SetCurrentValueInternal(ValueProperty, Math.Max(this.Minimum, Math.Min(this.Maximum, snappedValue)));