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

MapEditor.CreateItem(MapItemSettingsBase, Point) Method

Creates an item with the specified settings at the specified point.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

#Declaration

public MapItem CreateItem(
    MapItemSettingsBase itemSettings,
    Point screenPoint
)

#Parameters

Name Type Description
itemSettings MapItemSettingsBase

Settings of the new map item.

screenPoint Point

Point at which the Editor should create the new item.

#Returns

Type Description
MapItem

The newly created map item.

#Remarks

Important

The settings type specifies the newly created item’s type.

See Also