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

GalleryControl.Controller Property

Gets or sets the Bar and Docking Controllers (Customizing Default View and Behavior Settings) that provides default look and feel options for the GalleryControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.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 look and feel options for the GalleryControl.

Remarks

If the Controller property is set to null (Nothing in Visual Basic), the GalleryControl 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 GalleryControl can be obtained via the Controller method.

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

See Also