Skip to main content

StubGlyphOptions.ColorMode Property

Gets or sets the stub glyphs’ color scheme.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

[DefaultValue(GlyphColorMode.All)]
public GlyphColorMode ColorMode { get; set; }

Property Value

Type Default Description
DevExpress.Utils.Drawing.GlyphColorMode All

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 Type Path 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.

StubGlyphs - Color Mode

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

StubGlyphs - Random Colors

See Stub Glyphs to learn more.

See Also