Intersoft ClientUI Documentation
MinimumRangeSpan Property



Gets or sets the minimum allowed range span of a specified selection in slider bar.
Syntax
<CategoryAttribute("Common Properties")>
Public Property MinimumRangeSpan As Double
Dim instance As UXRangeSliderBar
Dim value As Double
 
instance.MinimumRangeSpan = value
 
value = instance.MinimumRangeSpan
[CategoryAttribute("Common Properties")]
public double MinimumRangeSpan {get; set;}
[CategoryAttribute("Common Properties")]
public:
property double MinimumRangeSpan {
   double get();
   void set (    double value);
}
Remarks

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.

Requirements

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

See Also

Reference

UXRangeSliderBar Class
UXRangeSliderBar Members
UXRangeSliderBar

Send Feedback