FlyoutPresenter
FlyoutPresenter
FlyoutPresenter
FlyoutPresenter
Class
Definition
public : class FlyoutPresenter : ContentControl, IFlyoutPresenterpublic class FlyoutPresenter : ContentControl, IFlyoutPresenterPublic Class FlyoutPresenter Inherits ContentControl Implements IFlyoutPresenter// This API is not available in Javascript.
See Remarks
- Inheritance
-
FlyoutPresenterFlyoutPresenterFlyoutPresenterFlyoutPresenter
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited properties
Inherited events
Inherited methods
Remarks
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.
Constructors
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.