Udostępnij za pośrednictwem


FlyoutBase.SetAttachedFlyout(FrameworkElement, FlyoutBase) Method

Definition

Associates the specified flyout with the specified FrameworkElement.

public:
 static void SetAttachedFlyout(FrameworkElement ^ element, FlyoutBase ^ value);
 static void SetAttachedFlyout(FrameworkElement const& element, FlyoutBase const& value);
public static void SetAttachedFlyout(FrameworkElement element, FlyoutBase value);
function setAttachedFlyout(element, value)
Public Shared Sub SetAttachedFlyout (element As FrameworkElement, value As FlyoutBase)

Parameters

element
FrameworkElement

The element to associate the flyout with.

value
FlyoutBase

The flyout to associate with the specified element.

Applies to

See also