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.v23.2.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public MapItemAttribute this[string name] { get; }

Parameters

Name Type Description
name String

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

Property Value

Type Description
MapItemAttribute

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

Remarks

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