RibbonControl.Controller Property
Gets or sets 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
[DXCategory("Appearance")]
[DefaultValue(null)]
public virtual BarAndDockingController Controller { get; set; }
Property Value
Type | Default | Description |
---|---|---|
BarAndDockingController | *null* | A BarAndDockingController object that provides default appearance options for the Ribbon Control. |
Remarks
If the Controller property is set to null (Nothing in Visual Basic), the Ribbon Control uses the default BarAndDocking controller’s settings. This represents a static object which can be accessed via the BarAndDockingController.Default property or via the DefaultBarAndDockingController component.
The actual controller that is used by the Ribbon Control can be obtained via the RibbonControl.GetController method.
For more information, see Bar and Docking Controllers (Customizing Default View and Behavior Settings).