Intersoft.Client.UI.Aqua.UXDock Namespace > UXDock Class : DockPosition Property |
<CategoryAttribute("Layout")> Public Property DockPosition As Dock
Dim instance As UXDock Dim value As Dock instance.DockPosition = value value = instance.DockPosition
[CategoryAttribute("Layout")] public Dock DockPosition {get; set;}
[CategoryAttribute("Layout")] public: property Dock DockPosition { Dock get(); void set ( Dock value); }
UXDock positioning can be controlled using DockPosition property by default the DockPosition is set to Bottom. When you change this property the UXDock will transform all its elements such as reflection, tooltip position, stack button position etc accordingly.
XAML |
Copy Code
|
---|---|
<Intersoft:UXDock DockPosition="Left"> <Intersoft:UXDockButton Text="Home" Icon="Home.png"/> <Intersoft:UXDockButton Text="Clock" Icon="Clock.png"/> <Intersoft:UXDockButton Text="Picture" Icon="Picture.png"/> <Intersoft:UXDockButton Text="Mail" Icon="Mail.png"/> <Intersoft:UXDockSeparator/> <Intersoft:UXDockButton Text="Document" Icon="Document.png" StackMode="GridStyle"> <Intersoft:UXStackItem Text="Video" Icon="Video.png"/> <Intersoft:UXStackItem Text="Photo" Icon="Photo.png"/> <Intersoft:UXStackItem Text="Music" Icon="Mp3.png"/> <Intersoft:UXStackItem Text="Text" Icon="Text.png"/> </Intersoft:UXDockButton> </Intersoft:UXDock> |
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