Intersoft.Client.UI.Aqua.UXInput Namespace > UXRangeSliderBar Class : MaximumRangeSpan Property |
<CategoryAttribute("Common Properties")> Public Property MaximumRangeSpan As Double
Dim instance As UXRangeSliderBar Dim value As Double instance.MaximumRangeSpan = value value = instance.MaximumRangeSpan
[CategoryAttribute("Common Properties")] public double MaximumRangeSpan {get; set;}
[CategoryAttribute("Common Properties")] public: property double MaximumRangeSpan { double get(); void set ( double value); }
You can set the minimum and maximum range span allowed in UXRangeSliderBar using MinimumRangeSpan and MaximumRangeSpan properties. When these properties are specified, the selected range value will be limited. You cannot select a range of value that is smaller than the value of MinimumRangeSpan property or larger than the value of MaximumRangeSpan property.
The following example shows how to set the minimum range span to 3 and the maximum range span to 5. Using this configuration, user cannot select a range of values smaller than 3 or larger than 5.
View |
Copy Code
|
---|---|
<Intersoft:UXRangeSliderBar TickPlacement="BottomRight" HandlesVisibility="Visible" SelectionStart="4" SelectionEnd="7" MinimumRangeSpan="3" MaximumRangeSpan="5" /> |
Note that this feature is applied to user interaction only. You can programmatically select a range of values that does not meet the minimum and maximum range span limitation.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2