Leaves editing mode and completes appropriate action for saving changes.
Remarks
Property specifies the state of the EndEdit button on the control. EndEdit button ends edit session for the control. Control saves changes and returns to normal mode. Depending on the type of edit mode, inserting or updating, the appropriate data source statement is executed.
EndEdit button becomes active at the moment the control enters edit mode. The button can be displayed in the control’s navigator or it is accessible through the menus on the ribbon. Both options at the same time are also possible.
Several different states are available for the button. States determine the appearance and the behaviour of the button. To learn more about the states see chapter Navigation Button States.
Example (MxSpace)
To see the defined EndEdit property on a control (GridEdit) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click WorkOrderManagePart.cs. Click the GridEdit control for displaying work orders and open Property Window. See the value Default defined in EndEdit property.
To define EndEdit property
- In Solution Explorer open MxPart component (WorkOrderManagePart) which contains the control (GridEdit).
- Select the desired control (GridEdit) on the canvas.
- Open Property Window.
- In section EditorNavigation in EndEdit property select the desired value (Default).
MxPart
CancelEdit