Intersoft ClientUI Documentation
DockMargin Property



Gets or sets the margin of UXDock. Margin bottom will determine the space of reflection area.
Syntax
<CategoryAttribute("Layout")>
Public Property DockMargin As Thickness
Dim instance As UXDock
Dim value As Thickness
 
instance.DockMargin = value
 
value = instance.DockMargin
[CategoryAttribute("Layout")]
public Thickness DockMargin {get; set;}
[CategoryAttribute("Layout")]
public:
property Thickness DockMargin {
   Thickness get();
   void set (    Thickness value);
}
Remarks

DockMargin provides space between UXDock and the container. In a sense it can also be uses to determine the reflection area.

XAML
Copy Code
<Intersoft:UXDock DockMargin="16,16,16,60">
    <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>

 

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

UXDock Class
UXDock Members

Concepts

UXDock

Send Feedback