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

PaletteCollection.Item[String] Property

Gets the palette with the specified name.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public ColorPalette this[string name] { get; }

#Parameters

Name Type Description
name String

A String value that specifies the name of a palette within the collection.

#Property Value

Type Description
ColorPalette

A ColorPalette descendant that represents the specified palette. null (Nothing in Visual Basic) if the collection doesn’t contain the palette with the specified name.

#Remarks

If the collection contains multiple palettes with the same name, the Item property returns the first found palette whose ColorPalette.Name property matches the name parameter.

See Also