Share via


TextBoxSelectionChangingEventArgs.Cancel Propriété

Définition

Obtient ou définit une valeur qui indique si l’opération de sélection doit être annulée.

public:
 property bool Cancel { bool get(); void set(bool value); };
bool Cancel();

void Cancel(bool value);
public bool Cancel { get; set; }
var boolean = textBoxSelectionChangingEventArgs.cancel;
textBoxSelectionChangingEventArgs.cancel = boolean;
Public Property Cancel As Boolean

Valeur de propriété

Boolean

bool

true pour annuler l’opération de sélection ; sinon, false. La valeur par défaut est false.

S’applique à