共用方式為


SaveEventArgs.Cancel Property

Definition

Gets or sets a value indicating whether to cancel the save operation.

public:
 property bool Cancel { bool get(); void set(bool value); };
public bool Cancel { get; set; }
member this.Cancel : bool with get, set
Public Property Cancel As Boolean

Property Value

true to cancel the save operation; otherwise, false.

Applies to