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






Gets or sets the orientation of the tick bar.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property Orientation As Orientation
Visual Basic (Usage)Copy Code
Dim instance As UXTickBar
Dim value As Orientation
 
instance.Orientation = value
 
value = instance.Orientation
C# 
[CategoryAttribute("Common Properties")]
public Orientation Orientation {get; set;}
Delphi 
public read-write property Orientation: Orientation; 
JScript 
CategoryAttribute("Common Properties")
public function get,set Orientation : Orientation
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property Orientation get_Orientation();
public: __property void set_Orientation( 
   Orientation value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property Orientation Orientation {
   Orientation get();
   void set (    Orientation value);
}

Remarks

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>
            

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.