Intersoft ClientUI Documentation
IsDirectionReversed Property (UXRating)



Gets or sets the direction reversed for the item.
Syntax
<CategoryAttribute("Common Properties")>
Public Property IsDirectionReversed As Boolean
Dim instance As UXRating
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);
}
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 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

See Also

Reference

UXRating Class
UXRating Members

Concepts

UXRating

Send Feedback