Back to Devexpress

MapItemAttributeCollection.Item[String] Property

wpf-devexpress-dot-xpf-dot-map-dot-mapitemattributecollection-dot-item-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

MapItemAttributeCollection.Item[String] Property

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

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

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

Parameters

NameTypeDescription
nameString

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

|

Property Value

TypeDescription
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

MapItemAttributeCollection Class

MapItemAttributeCollection Members

DevExpress.Xpf.Map Namespace