Intersoft.Client.UI.Aqua.UXInput Namespace > UXTickBar Class : IsDirectionReversed Property |
<CategoryAttribute("Common Properties")> Public Property IsDirectionReversed As Boolean
Dim instance As UXTickBar Dim value As Boolean instance.IsDirectionReversed = value value = instance.IsDirectionReversed
[CategoryAttribute("Common Properties")] public bool IsDirectionReversed {get; set;}
[CategoryAttribute("Common Properties")] public: property bool IsDirectionReversed { bool get(); void set ( bool value); }
You can specify the orientation of UXTickBar to Horizontal or Vertical using Orientation property. In horizontal UXTickBar, the tick bar items will be displayed from left to right. In vertical UXTickBar, the tick bar items will be displayed 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 tick bar items will be displayed from right to left in horizontal UXTickBar and from top to bottom in vertical UXTickBar.
View |
Copy Code
|
---|---|
<StackPanel Width="300" VerticalAlignment="Center"> <Intersoft:UXTickBar Maximum="5" Orientation="Horizontal"/> <Intersoft:UXTickBar Maximum="5" Orientation="Horizontal" IsDirectionReversed="True"/> <StackPanel Orientation="Horizontal"> <Intersoft:UXTickBar Maximum="5" Orientation="Vertical" PointerPosition="Right"/> <Intersoft:UXTickBar Maximum="5" Orientation="Vertical" PointerPosition="Right" IsDirectionReversed="True"/> </StackPanel> </StackPanel> |
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