MenuFlyout.MenuFlyoutPresenterStyle MenuFlyout.MenuFlyoutPresenterStyle MenuFlyout.MenuFlyoutPresenterStyle MenuFlyout.MenuFlyoutPresenterStyle Property

Definition

Gets or sets the style that is used when rendering the MenuFlyout.

public : Style MenuFlyoutPresenterStyle { get; set; }
Style MenuFlyoutPresenterStyle();

void MenuFlyoutPresenterStyle(Style menuflyoutpresenterstyle);
public Style MenuFlyoutPresenterStyle { get; set; }
Public ReadWrite Property MenuFlyoutPresenterStyle As Style
<MenuFlyout MenuFlyoutPresenterStyle="resourceReferenceToStyle"/>

Property Value

The style that is used when rendering the MenuFlyout.

Remarks

The TargetType value to use for the Style must be MenuFlyoutPresenter (not MenuFlyout).

You can't style a MenuFlyout directly. Instead, you apply a style to the MenuFlyoutPresenter that provides the visuals for the flyout. You can also style MenuFlyoutItem and ToggleMenuFlyoutItem (they are controls) and you can use implicit styles to do so. Or, you can set UI-related properties on the MenuFlyoutItem and ToggleMenuFlyoutItem items directly.

See also