System.Windows.Forms.DockingAttribute Class

Specifies the default docking behavior for a control.

See Also: DockingAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class DockingAttribute : Attribute

Remarks

You can create new controls in Windows Forms derived either from an existing control or from System.Windows.Forms.UserControl. Use this attribute on new controls to describe how the control should dock by default when placed on a form.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0