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






Gets or sets the direction reversed for the item.

Syntax

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

Remarks

You can also specify the orientation of UXRating to Horizontal or Vertical using Orientation property. In horizontal rating, the increasing value will start from left to right. In vertical rating, the increasing value will start from top to bottom.

The following code shows how to set the rating orientation.

XAML Copy Code
<Grid>
    <Intersoft:UXRating Width="200" Height="50" Orientation="Horizontal" />
</Grid>

You can also 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 rating and from bottom to top in vertical rating.

This image below shows the srating display when the IsDirectionReversed property is set to True in horizontal orientation.

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.