BaseView.AddDocument(Control) Method

Adds a Document containing the specific control as content to the current BaseView.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public BaseDocument AddDocument(
    Control control
)
Public Function AddDocument(
    control As Control
) As BaseDocument

Parameters

Name Type Description
control Control

A Control object, stored within the newly added document as its content.

Returns

Type Description
BaseDocument

A Document added to the current BaseView.

Remarks

The AddDocument method does nothing if the specified control has already been added to an existing document in the current View.

See Also