Intersoft.Client.UI.Controls.Interactivity Namespace > UXStackPanel Class : Orientation Property |
<CategoryAttribute("Layout")> Public Property Orientation As Orientation
Dim instance As UXStackPanel 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); }
The following example demonstrates how to use a UXStackPanel to create a set of vertically-positioned buttons. For horizontal positioning, set the Orientation property to Horizontal.
XAML |
Copy Code
|
---|---|
<Intersoft:UXStackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <Button Content="Button1" Width="80"/> <Button Content="Button2" Width="80"/> <Button Content="Button3" Width="80"/> </Intersoft:UXStackPanel> |
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