Intersoft.Client.UI.Aqua.UXInput Namespace > UXRating Class : IsDirectionReversed Property |
<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); }
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.
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