Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 2.19 KB

flyoutpresenter.md

File metadata and controls

41 lines (25 loc) · 2.19 KB
-api-id -api-type
T:Windows.UI.Xaml.Controls.FlyoutPresenter
winrt class

Windows.UI.Xaml.Controls.FlyoutPresenter

-description

Displays the content of a Flyout.

-xaml-syntax

See Remarks

-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.

Version history

Windows version SDK version Value added
1903 18362 IsDefaultShadowEnabled

-examples

-see-also

ContentControl, Flyout