alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DockingStyle

    Specifies the type of docking.

    Inheritance
    System.Object
    DockingStyle
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public sealed class DockingStyle : Enum
    Remarks

    The DockingStyle enumeration is used by the DockingManager to convey and to get information about a dock operation. The DockingStyle value is always expressed relative to the dock target. For example, when a control is being docked to the main form and DockingStyle.Left is used, this implies that the control will be docked to the left border of the form and have a width equal to the specified width and a height equal to the form's client rectangle height.

    Fields

    Bottom

    The control is docked to the bottom edge of the parent control.

    Declaration
    public const DockingStyle Bottom
    Field Value
    Type
    DockingStyle

    Fill

    For internal use.

    Declaration
    public const DockingStyle Fill
    Field Value
    Type
    DockingStyle

    Left

    The control is docked to the left edge of the parent control.

    Declaration
    public const DockingStyle Left
    Field Value
    Type
    DockingStyle

    None

    No dock border.

    Declaration
    public const DockingStyle None
    Field Value
    Type
    DockingStyle

    Right

    The control is docked to the right edge of the parent control.

    Declaration
    public const DockingStyle Right
    Field Value
    Type
    DockingStyle

    Tabbed

    The control is docked as a tabbed window along with the dock target. This style is not applicable when the dock target is the host form.

    Declaration
    public const DockingStyle Tabbed
    Field Value
    Type
    DockingStyle

    Top

    The control is docked to the top edge of the parent control.

    Declaration
    public const DockingStyle Top
    Field Value
    Type
    DockingStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved