FlyoutBase.Target Property

Definition

Gets the element to use as the flyout's placement target.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase.Target.

public:
 property FrameworkElement ^ Target { FrameworkElement ^ get(); };
FrameworkElement Target();
public FrameworkElement Target { get; }
var frameworkElement = flyoutBase.target;
Public ReadOnly Property Target As FrameworkElement
<flyoutTarget="flyoutPlacementTarget" />

Property Value

FrameworkElement

The element to use as the flyout's placement target.

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Available starting in Windows 10, version 1607.

Applies to