Skip to main content

StubGlyphOptions.RandomizeColors Property

Gets or sets whether or not different hues of the same color are allowed.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

[DefaultValue(true)]
public bool RandomizeColors { get; set; }

Property Value

Type Default Description
Boolean true

true, to allow different hues of the same color; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to RandomizeColors
BarManager
.OptionsStubGlyphs .RandomizeColors
RibbonControl
.OptionsStubGlyphs .RandomizeColors
WinExplorerView
.OptionsStubGlyphs .RandomizeColors

Remarks

If the RandomizeColors property is enabled, glyphs of the same colors can still slightly differ, as shown below.

StubGlyphs - Random Colors

To choose what colors are available for stub glyphs, utilize the StubGlyphOptions.ColorMode property. See Stub Glyphs to learn more.

See Also