C++ C#

CancelEdit(bool) Method

API Reference

Namespace: Semata.ControlsCLR

Class: EditableDataManager

If there are no changes or it is ok to cancel calls IEditableData.CancelEdit.

If the editing mode is AutoNew, sets the object beging edited to the result of calling Creator().

If the editing mode is AutoEdit, sets the object beging edited to the object selected by the selector.

Otherwise, sets the object beging edited to null.

public:
void CancelEdit(bool checkForEdits)

Parameters

Type Name Description
bool checkForEdits if true, then cancel is only performed if IsOkToCancel is true

Returns: void

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.