Spread Windows Forms 12.0 Product Documentation
Cancel Property (EditModeStartingEventArgs)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EditModeStartingEventArgs Class : Cancel Property
Gets or sets whether to cancel edit mode.
Public Property Cancel As Boolean
Dim instance As EditModeStartingEventArgs
Dim value As Boolean
instance.Cancel = value
value = instance.Cancel
public bool Cancel {get; set;}
This example sets the Cancel property.
private void fpSpread1_EditModeStarting(object sender, FarPoint.Win.Spread.EditModeStartingEventArgs e)
            e.Cancel = true;
Private Sub FpSpread1_EditModeStarting(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.EditModeStartingEventArgs) Handles FpSpread1.EditModeStarting
        e.Cancel = True
    End Sub
See Also


EditModeStartingEventArgs Class
EditModeStartingEventArgs Members