UIElement.ContextFlyout Property
Definition
Gets or sets the flyout associated with this element.
Equivalent WinUI property: Microsoft.UI.Xaml.UIElement.ContextFlyout.
public:
property FlyoutBase ^ ContextFlyout { FlyoutBase ^ get(); void set(FlyoutBase ^ value); };
FlyoutBase ContextFlyout();
void ContextFlyout(FlyoutBase value);
public FlyoutBase ContextFlyout { get; set; }
var flyoutBase = uIElement.contextFlyout;
uIElement.contextFlyout = flyoutBase;
Public Property ContextFlyout As FlyoutBase
Property Value
The flyout associated with this element, if any; otherwise, null. The default is null.
Windows 10 requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|