Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • SnapDockManager(ContainerControl) Constructor

    Initializes a new instance of the SnapDockManager class with the specified container control.

    Namespace: DevExpress.Snap.Extensions

    Assembly: DevExpress.Snap.v21.2.Extensions.dll

    NuGet Package: DevExpress.Win.Snap

    Declaration

    public SnapDockManager(
        ContainerControl form
    )

    Parameters

    Name Type Description
    form ContainerControl

    A ContainerControl object, specifying the container control that will display the dock panels owned by the created dock manager.

    Remarks

    The constructor initializes all the fields to their default values.

    The form parameter is used to initialize the DockManager.Form property. It represents the container control (form or user control) that will display the dock panels owned by the dock manager. The DockManager.Form property must refer to a valid control (not null). Otherwise, an exception will occur when adding panels to the dock manager.

    See Also