Skip to main content
A newer version of this page is available. .

StubGlyphOptions.RandomizeColors Property

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

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v19.1.dll

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:

Library Object Type Path to RandomizeColors
WinForms Controls BarManager
.OptionsStubGlyphs.RandomizeColors
RibbonControl
.OptionsStubGlyphs.RandomizeColors
ToolbarFormManager
.OptionsStubGlyphs.RandomizeColors
WinExplorerView
.OptionsStubGlyphs.RandomizeColors
DocumentViewerBarManager
.OptionsStubGlyphs.RandomizeColors
PrintBarManager
.OptionsStubGlyphs.RandomizeColors
Reporting XRDesignBarManager
.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