Enables you to prevent a card from being edited.
public event ASPxStartCardEditingEventHandler StartCardEditing
Public Event StartCardEditing As ASPxStartCardEditingEventHandler
The StartCardEditing event's data class is ASPxStartCardEditingEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.|
|EditingKeyValue||Gets the processed card's key value.|
The StartCardEditing event occurs when an end-user has clicked the Edit command or the ASPxCardView.StartEdit method has been called. To prevent switching the ASPxCardView to edit mode, set the event parameter's Cancel property to true.
The code example below prohibits a user from editing cards that contain information unrelated to the Sales department.