FlyoutBase.GetAttachedFlyout(FrameworkElement) Method

Definition

Gets the flyout associated with the specified element.

public:
 static FlyoutBase ^ GetAttachedFlyout(FrameworkElement ^ element);
 static FlyoutBase GetAttachedFlyout(FrameworkElement const& element);
public static FlyoutBase GetAttachedFlyout(FrameworkElement element);
function getAttachedFlyout(element)
Public Shared Function GetAttachedFlyout (element As FrameworkElement) As FlyoutBase

Parameters

element
FrameworkElement

The element for which to get the associated flyout.

Returns

The flyout attached to the specified element.

Applies to

See also