Back to Devexpress

PaletteCollection.Item[String] Property

wpf-devexpress-dot-xpf-dot-editors-dot-palettecollection-dot-item-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

PaletteCollection.Item[String] Property

Gets the palette with the specified name.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public ColorPalette this[string name] { get; }
vb
Public ReadOnly Property Item(name As String) As ColorPalette

Parameters

NameTypeDescription
nameString

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

|

Property Value

TypeDescription
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

PaletteCollection Class

PaletteCollection Members

DevExpress.Xpf.Editors Namespace