Bar

BarAndDockingController.GetDefaultController(Control, IBarAndDockingControllerClient) Method

Returns the control's default controller.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public static BarAndDockingController GetDefaultController(
    Control container,
    IBarAndDockingControllerClient client
)
Public Shared Function GetDefaultController(
    container As Control,
    client As IBarAndDockingControllerClient
) As BarAndDockingController

Parameters

Name Type Description
container Control

A Control that owns the client.

client DevExpress.XtraBars.IBarAndDockingControllerClient

A control that implements the IBarAndDockingControllerClient interface and is the control whose default controller is to be retrieved.

Returns

Type Description
BarAndDockingController

A BarAndDockingController object that is the control's default controller.

See Also