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






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

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property MaximumRangeSpan As Double
Visual Basic (Usage)Copy Code
Dim instance As UXRangeSliderBar
Dim value As Double
 
instance.MaximumRangeSpan = value
 
value = instance.MaximumRangeSpan
C# 
[CategoryAttribute("Common Properties")]
public double MaximumRangeSpan {get; set;}
Delphi 
public read-write property MaximumRangeSpan: Double; 
JScript 
CategoryAttribute("Common Properties")
public function get,set MaximumRangeSpan : double
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property double get_MaximumRangeSpan();
public: __property void set_MaximumRangeSpan( 
   double value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property double MaximumRangeSpan {
   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.