Compartir a través de


WindowClosingEventArgs.Cancel Property

Definition

Gets or sets a Boolean value that specifies whether the window closing event is cancelled.

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

Applies to