CurrentChangingEventArgs.Cancel Propriété

Définition

Obtient ou définit une valeur qui indique s’il faut annuler l’événement.

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

Valeur de propriété

true si l’événement doit être annulé ; sinon, false. La valeur par défaut est false.

Exceptions

Si la valeur est IsCancelablefalse.

S’applique à