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; 376min = Minimum; 386min = Minimum;
System\Windows\Controls\Primitives\ScrollBar.cs (6)
409newValue = Math.Min(Math.Max(newValue, Minimum), Maximum); 541double newValue = Math.Max(Value - SmallChange, Minimum); 559double newValue = Math.Max(Value - LargeChange, Minimum); 577if (Value != Minimum) 579Value = Minimum; 714bool canScrollNew = scrollBar.Maximum > scrollBar.Minimum;
System\Windows\Controls\ProgressBar.cs (1)
167double min = Minimum;
System\Windows\Controls\Slider.cs (16)
625double min = slider.Minimum; 990double range = Maximum - Minimum; 1019Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize); 1037Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize); 1062double range = Maximum - Minimum; 1077rangeElement.Width = ((Value - Minimum) * valueToSize); 1101rangeElement.Height = ((Value - Minimum) * valueToSize); 1169double previous = Minimum; 1206previous = Minimum + (Math.Round(((value - Minimum) / TickFrequency)) * TickFrequency); 1227double next = SnapToTick(Math.Max(this.Minimum, Math.Min(this.Maximum, value + direction))); 1234&& !(!greaterThan && value == Minimum)) // Stop if searching down if already at Min 1265double tickNumber = Math.Round((value - Minimum) / TickFrequency); 1272next = Minimum + tickNumber * TickFrequency; 1409this.SetCurrentValueInternal(ValueProperty, this.Minimum); 1426this.SetCurrentValueInternal(ValueProperty, Math.Max(this.Minimum, Math.Min(this.Maximum, snappedValue)));