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

MapItemAttributeCollection.Item[String] Property

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

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.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