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

RibbonControl.GetController() Method

Returns the Bar and Docking Controllers (Customizing Default View and Behavior Settings) that provides default appearance options for the Ribbon Control.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public virtual BarAndDockingController GetController()

Returns

Type Description
BarAndDockingController

A BarAndDockingController object that provides default appearance options for the Ribbon Control.

Remarks

If the RibbonControl.Controller property is set to null (Nothing in Visual Basic), the Ribbon Control uses the DefaultBarAndDockingController’s settings. This represents a static object which can be accessed via the BarAndDockingController.Default property or via the DefaultBarAndDockingController component.

For more information, see Bar and Docking Controllers (Customizing Default View and Behavior Settings).

See Also