Back to Devexpress

BarAndDockingController.PaintStyles Property

windowsforms-devexpress-dot-xtrabars-dot-baranddockingcontroller-99144705.md

latest2.7 KB
Original Source

BarAndDockingController.PaintStyles Property

Contains paint information for the available paint schemes.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public virtual BarManagerPaintStyleCollection PaintStyles { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property PaintStyles As BarManagerPaintStyleCollection

Property Value

TypeDescription
DevExpress.XtraBars.Styles.BarManagerPaintStyleCollection

A collection of paint styles.

|

Remarks

The PaintStyles property contains a collection of objects that provide paint information for the XtraBars’ elements for different schemes.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PaintStyles property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-create-custom-barmanager-baranddockingcontroller/CS/MyBarManager/MyBarButtonItem.cs#L14

csharp
public static void Register(BarAndDockingController controller) {
    Register(controller.PaintStyles);
}

winforms-create-custom-barmanager-baranddockingcontroller/VB/MyBarManager/MyBarButtonItem.vb#L24

vb
Public Shared Sub Register(ByVal controller As BarAndDockingController)
    Register(controller.PaintStyles)
End Sub

See Also

BarAndDockingController Class

BarAndDockingController Members

DevExpress.XtraBars Namespace