public : class FlyoutPresenter : ContentControl, IFlyoutPresenter
public class FlyoutPresenter : ContentControl, IFlyoutPresenter
Public Class FlyoutPresenter Inherits ContentControl Implements IFlyoutPresenter
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
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.