MobileForms Toolkit Documentation

SmartGrid.BeforeCustomEdit Event

BeforeCustomEdit event is fired whenever a cell is clicked in the column that has a CellEdit property set to CellEditType.Custom.

public event CustomEditHandler BeforeCustomEdit;

Event Data

The event handler receives an argument of type CustomEditEventArgs containing data related to this event. The following CustomEditEventArgs properties provide information specific to this event.

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
Cell Gets the cell that is being edited.
Control Gets the control that is used to edit the cell.

Remarks

Argument for this event is of type CustomEditEventArgs. It contains a reference to the cell that was clicked and a reference to the control-derived object that will be used to edit the cell. You should handle this event to format this custom control (e.g. fill it with data from the cell). After the handler has run the custom control will be displayed to the user.

See Also

SmartGrid Class | Resco.Controls.SmartGrid Namespace