Xceed SmartUI for WinForms v3.6 Documentation
Dock Property (SmartMenuBar)


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.MenuBar Namespace > SmartMenuBar Class : Dock Property
Gets or sets which edge of the parent container the control is docked to.
Syntax
'Declaration
 
<DefaultValueAttribute()>

Public Overrides Property Dock As DockStyle
'Usage
 
Dim instance As SmartMenuBar

Dim value As DockStyle

 

instance.Dock = value

 

value = instance.Dock
[DefaultValue()]

public override DockStyle Dock {get; set;}

Property Value

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

SmartMenuBar Class
SmartMenuBar Members
Base Implementation in Dock