Intersoft ClientUI Documentation
MinimumRangeSpan Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXRangeSliderBar Class : MinimumRangeSpan Property






Gets or sets the minimum allowed range span of a specified selection in slider bar.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property MinimumRangeSpan As Double
Visual Basic (Usage)Copy Code
Dim instance As UXRangeSliderBar
Dim value As Double
 
instance.MinimumRangeSpan = value
 
value = instance.MinimumRangeSpan
C# 
[CategoryAttribute("Common Properties")]
public double MinimumRangeSpan {get; set;}
Delphi 
public read-write property MinimumRangeSpan: Double; 
JScript 
CategoryAttribute("Common Properties")
public function get,set MinimumRangeSpan : double
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property double get_MinimumRangeSpan();
public: __property void set_MinimumRangeSpan( 
   double value
);
C++/CLI 
[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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.