Back to Devexpress

MapEditor.FinishItem() Method

windowsforms-devexpress-dot-xtramap-dot-mapeditor-126a9a2b.md

latest1.5 KB
Original Source

MapEditor.FinishItem() Method

Finishes the current edit or create operation.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public void FinishItem()
vb
Public Sub FinishItem

Remarks

The following code calls FinishItem in a SimpleButton‘s Click event handler.

csharp
simpleButton1.Click += SimpleButton1_Click;
// . . . 
private void SimpleButton1_Click(object sender, EventArgs e) {
    mapControl.MapEditor.FinishItem();
}
vb
simpleButton1.Click = (simpleButton1.Click + SimpleButton1_Click)
' . . . 
Private Sub SimpleButton1_Click(ByVal sender As Object, ByVal e As EventArgs)
    mapControl.MapEditor.FinishItem
End Sub

See Also

MapEditor Class

MapEditor Members

DevExpress.XtraMap Namespace