Back to Devexpress

StubGlyphOptions.RandomizeColors Property

windowsforms-devexpress-dot-utils-dot-drawing-dot-stubglyphoptions-70ae0b2b.md

latest2.7 KB
Original Source

StubGlyphOptions.RandomizeColors Property

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

Namespace : DevExpress.Utils.Drawing

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
public bool RandomizeColors { get; set; }
vb
<DefaultValue(True)>
Public Property RandomizeColors As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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.

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

See Also

ColorMode

Stub Glyphs

StubGlyphOptions Class

StubGlyphOptions Members

DevExpress.Utils.Drawing Namespace