Intersoft.Client.UI.Aqua.UXInput Namespace > UXSliderBarBase Class : Orientation Property |
<CategoryAttribute("Common Properties")> Public Property Orientation As Orientation
Dim instance As UXSliderBarBase Dim value As Orientation instance.Orientation = value value = instance.Orientation
[CategoryAttribute("Common Properties")] public Orientation Orientation {get; set;}
[CategoryAttribute("Common Properties")] public: property Orientation Orientation { Orientation get(); void set ( Orientation value); }
You can specify the orientation of UXSliderBar and UXRangeSliderBar to Horizontal or Vertical using Orientation property. In horizontal slider bar, the increasing value will start from left to right. In vertical slider bar, the increasing value will start from bottom to top.
Alternatively, you can set IsDirectionReversed property to reverse the direction of the increasing value. If IsDirectionReversed property is set to True, the increasing value will start from right to left in horizontal slider bar and from top to bottom in vertical slider bar.
The following example shows how to enable IsDirectionReversed in horizontal UXRangeSliderBar.
View |
Copy Code
|
---|---|
<Intersoft:UXRangeSliderBar IsDirectionReversed="True" TickPlacement="BottomRight" SelectionStart="2" SelectionEnd="7"/> |
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