Skip to main content

MapItemAttributeCollection.Item[String] Property

Provides access to individual map items in the collection by their names.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v22.2.dll

NuGet Package: DevExpress.Wpf.Map


public MapItemAttribute this[string name] { get; }


Name Type Description
name String

A String value specifying the name of the map item to get.

Property Value

Type Description

A MapItem class descendant which is the map item with the specified name.


This property searches the collection for the map item whose name matches the specified value, and returns this map item. If no such map item is found, the indexer returns null (Nothing in Visual Basic).

See Also