Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinButton Class / Dock Property


In This Topic
    Dock Property
    In This Topic
    Gets or sets which edge of the parent container a control is docked to.
    Syntax
    'Declaration
     
    Public Shadows Property Dock As DockStyle
    'Usage
     
    Dim instance As WinButton
    Dim value As DockStyle
     
    instance.Dock = value
     
    value = instance.Dock
    public new DockStyle Dock {get; set;}

    Property Value

    A System.Windows.Forms.DockStyle value representing which edge of the parent container a control is docked to. By default, DockStyle.None.
    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