Skip to main content

DrawMapItemEventArgs(MapItem, MapItemsLayerBase) Constructor

Initializes a new instance of the DrawMapItemEventArgs class with the specified map item and layer.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

public DrawMapItemEventArgs(
    MapItem item,
    MapItemsLayerBase layer
)

Parameters

Name Type Description
item MapItem

A MapItem value that specifies a map item to be drawn. This value is assigned to the MapItemEventArgs.Item property.

layer MapItemsLayerBase

A MapItemsLayerBase descendant to which the item belongs.

Remarks

Instances of the DrawMapItemEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also