MX-Frame Library Send comments on this topic.
CancelEdit
See Also
MX-Developer > User Interface - MxPart > Controls > Control Properties > EditorNavigation > CancelEdit

Glossary Item Box

Leaves editing mode without making any changes.

Remarks

Property specifies the state of the CancelEdit button on the control. CancelEdit button terminates the edit session for the control. Control returns to normal mode without saving any changes. This means that no statement is executed on button click. Any changes done are lost and previous data is displayed.

CancelEdit 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 CancelEdit 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 CancelEdit property.

To define CancelEdit property

See Also

MxPart
EndEdit

©2009 Metronik. All Rights Reserved.