Skip to main content
A newer version of this page is available.

SnapDockManager(ContainerControl) Constructor

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

Namespace: DevExpress.Snap.Extensions

Assembly: DevExpress.Snap.v19.1.Extensions.dll

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