Intersoft ClientUI Documentation
DockMargin Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDock Namespace > UXDock Class : DockMargin Property






Gets or sets the margin of UXDock. Margin bottom will determine the space of reflection area.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Layout")>
Public Property DockMargin As Thickness
Visual Basic (Usage)Copy Code
Dim instance As UXDock
Dim value As Thickness
 
instance.DockMargin = value
 
value = instance.DockMargin
C# 
[CategoryAttribute("Layout")]
public Thickness DockMargin {get; set;}
Delphi 
public read-write property DockMargin: Thickness; 
JScript 
CategoryAttribute("Layout")
public function get,set DockMargin : Thickness
Managed Extensions for C++ 
[CategoryAttribute("Layout")]
public: __property Thickness get_DockMargin();
public: __property void set_DockMargin( 
   Thickness value
);
C++/CLI 
[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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.