Defines which borders of the control are bound to the container.
Namespace:
C1.Web.UI.Controls.C1ToolBarAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
| C# |
|---|
[RefreshPropertiesAttribute(RefreshProperties.All)] [DefaultValueAttribute(DockStyle.None)] [JsonAttribute(true)] public Dock Dock { get; set; } |
| Visual Basic (Declaration) |
|---|
<RefreshPropertiesAttribute(RefreshProperties.All)> _ <DefaultValueAttribute(DockStyle.None)> _ <JsonAttribute(True)> _ Public Property Dock As Dock Get Set |
Implements
IC1DockableDock()()()()
Remarks
Use the C1ToolBar.Dock property to define how a toolbar is automatically resized as its parent control is resized.
For example, setting dock to Left causes the toolbar to align itself with the left edges of its parent control and to resize as the parent control is resized.