LosingFocusEventArgs.Cancel Property

Definition

Gets or sets whether focus navigation should be canceled.

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

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

Property Value

Boolean

bool

true if focus navigation should be canceled; otherwise, false.

Remarks

You should call the TryCancel method instead of setting this property.

Applies to

See also