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

GalleryControl.GetController() Method

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public virtual BarAndDockingController GetController()

Returns

Type Description
BarAndDockingController

A BarAndDockingController object that provides look and feel options for the GalleryControl

Remarks

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