Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

StubGlyphOptions.ColorMode Property

Gets or sets the stub glyphs’ color scheme.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.2.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