FlyoutPresenter FlyoutPresenter FlyoutPresenter FlyoutPresenter Class


Displays the content of a Flyout.

public : class FlyoutPresenter : ContentControl, IFlyoutPresenterpublic class FlyoutPresenter : ContentControl, IFlyoutPresenterPublic Class FlyoutPresenter Inherits ContentControl Implements IFlyoutPresenter// This API is not available in Javascript.
See Remarks

Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited events

Inherited methods


You don't typically declare object elements for FlyoutPresenter in XAML. There are no properties that a FlyoutPresenter can set in XAML syntax and there's no reason to declare a FlyoutPresenter as a resource.

The main purpose of the FlyoutPresenter class is to be the default internal presenter for the Content value of a Flyout. The Content property can be any UIElement. The FlyoutPresenter can apply presentation that can modify presentation info declared on the element used as Content. You extend presentation behavior of the FlyoutPresenter by setting a value for the FlyoutPresenterStyle property of the Flyout. The Style you declare that fills the FlyoutPresenterStyle property must specify TargetType="FlyoutPresenter". The properties that can be styled are the dependency properties of the base ContentControl class or Control class, such as FontSize or Padding, or base element properties such as FrameworkElement.Margin that the FlyoutPresenter class inherits.

FlyoutPresenter exists as a class and has a default constructor basically to satisfy XAML infrastructure support, when it's specified as the TargetType of the Style used for a FlyoutPresenterStyle value.


FlyoutPresenter() FlyoutPresenter() FlyoutPresenter() FlyoutPresenter()

Initializes a new instance of the FlyoutPresenter class.

public : FlyoutPresenter()public FlyoutPresenter()Public Sub New()// This API is not available in Javascript.

See Also