Share via


FlyoutBaseClosingEventArgs.Cancel Property

Definition

Gets or sets a value that indicates whether the flyout should be prevented from closing.

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

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

Property Value

Boolean

bool

true to prevent the flyout from closing; otherwise, false.

Remarks

Available starting in Windows 10, version 1607.

Applies to