WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DockingClientPanel - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DockingClientPanel

    Represents a Panel derived control for use with the Essential Tools Docking Windows framework.

    Inheritance
    System.Object
    DockingClientPanel
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class DockingClientPanel : Panel
    Remarks

    The DockingClientPanel is a subclass of the System.Windows.Forms.Panel control and implements a docking layout aware container that may be used for hosting the non-dockable controls on the Form or ContainerControl that houses the DockingManager. By virtue of it being aware of the docking layout, the DockingClientPanel's bounds are automatically repositioned or resized when the container's client area changes during the course of docking/undocking operations. Controls placed on the DockingClientPanel can thus avail of it's static boundary for implementing any required layout management.

    NOTE: The DockingClientPanel should not be used in MDIContainer forms as the equivalent functionality is provided by the MDIClient window.

    Constructors

    DockingClientPanel()

    Creates an instance of the DockingClientPanel class.

    Declaration
    public DockingClientPanel()

    Properties

    Anchor

    Defines the edges of the container to which a certain control is bound. When a control is anchored to an edge, the distance between the control's
    closest edge and the specified edge will remain constant.

    Declaration
    public override AnchorStyles Anchor { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.AnchorStyles

    AutoScroll

    Gets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries.

    Declaration
    public override bool AutoScroll { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value.

    BorderStyle

    Gets or sets the border style of the DockingClientPanel control.

    Declaration
    public BorderStyle BorderStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.BorderStyle

    A System.Windows.Forms.BorderStyle value. The default is BorderStyle.FixedSingle.

    Dock

    Gets / Sets the DockStyle

    Declaration
    public override DockStyle Dock { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.DockStyle

    SizeToFit

    Indicates whether the control is sized to fill the form's client area.

    Declaration
    public bool SizeToFit { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value. During runtime this is always TRUE.

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnPaint(PaintEventArgs)

    Overridden. See System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs).

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnParentChanged(EventArgs)

    Overridden. See System.Windows.Forms.Control.OnParentChanged(System.EventArgs).

    Declaration
    protected override void OnParentChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    ScrollToControl(Control)

    Declaration
    protected override Point ScrollToControl(Control activeControl)
    Parameters
    Type Name Description
    System.Windows.Forms.Control activeControl
    Returns
    Type Description
    System.Drawing.Point

    SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

    Overridden. See System.Windows.Forms.Control.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Forms.BoundsSpecified).

    Declaration
    protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
    Parameters
    Type Name Description
    System.Int32 x
    System.Int32 y
    System.Int32 width
    System.Int32 height
    System.Windows.Forms.BoundsSpecified specified

    WndProc(ref Message)

    Overridden. See System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message@).

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    See Also

    DockingManager
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved