Intersoft.Client.UI.Aqua.UXInput Namespace > UXRating Class : Orientation Property |
<CategoryAttribute("Layout")> Public Property Orientation As Orientation
Dim instance As UXRating Dim value As Orientation instance.Orientation = value value = instance.Orientation
[CategoryAttribute("Layout")] public Orientation Orientation {get; set;}
[CategoryAttribute("Layout")] public: property Orientation Orientation { Orientation get(); void set ( Orientation 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> |
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