Back to Devexpress

StubGlyphOptions.ColorMode Property

windowsforms-devexpress-dot-utils-dot-drawing-dot-stubglyphoptions-0cc8ecec.md

latest2.7 KB
Original Source

StubGlyphOptions.ColorMode Property

Gets or sets the stub glyphs’ color scheme.

Namespace : DevExpress.Utils.Drawing

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue(GlyphColorMode.All)]
public GlyphColorMode ColorMode { get; set; }
vb
<DefaultValue(GlyphColorMode.All)>
Public Property ColorMode As GlyphColorMode

Property Value

TypeDefaultDescription
DevExpress.Utils.Drawing.GlyphColorModeAll

A DevExpress.Utils.Drawing.GlyphColorMode enumerator value that specifies the stub glyphs’ color scheme.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ColorMode
BarManager

.OptionsStubGlyphs .ColorMode

| | RibbonControl |

.OptionsStubGlyphs .ColorMode

| | WinExplorerView |

.OptionsStubGlyphs .ColorMode

|

Remarks

By default, each stub glyph is painted using a random color from six available colors. You can utilize this property to explicitly choose one specific color for all stub glyphs.

You can additionally utilize the StubGlyphOptions.RandomizeColors property to enable or disable various hues for same glyph colors.

See Stub Glyphs to learn more.

See Also

Stub Glyphs

StubGlyphOptions Class

StubGlyphOptions Members

DevExpress.Utils.Drawing Namespace