Back to Devexpress

GalleryControl.Controller Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallerycontrol-c6cf944f.md

latest2.6 KB
Original Source

GalleryControl.Controller Property

Gets or sets the bar and dock controller that specifies default look and feel settings for the GalleryControl.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual BarAndDockingController Controller { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Overridable Property Controller As BarAndDockingController

Property Value

TypeDefaultDescription
BarAndDockingControllernull

A BarAndDockingController object that specifies default look and feel settings 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 Look and Feel.

See Also

GetController()

Look and Feel

GalleryControl Class

GalleryControl Members

DevExpress.XtraBars.Ribbon Namespace