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.v20.1.dll

Declaration

public virtual BarAndDockingController GetController()
Public Overridable Function GetController As BarAndDockingController

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).

Implements

DevExpress.XtraBars.Ribbon.IBackstageViewOwner.GetController()
See Also