Spread Windows Forms 11.0 Product Documentation
Cancel Property (EditModeStartingEventArgs)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EditModeStartingEventArgs Class : Cancel Property
Gets or sets whether to cancel edit mode.
Syntax
'Declaration
 
Public Property Cancel As Boolean
'Usage
 
Dim instance As EditModeStartingEventArgs
Dim value As Boolean
 
instance.Cancel = value
 
value = instance.Cancel
public bool Cancel {get; set;}
Example
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

Reference

EditModeStartingEventArgs Class
EditModeStartingEventArgs Members