PaletteCollection.Item[String] Property
In This Article
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 |
---|---|
Color |
A Color |
#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