Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.68 KB

xamluipresenter_getflyoutplacementtargetinfo_1126825698.md

File metadata and controls

36 lines (25 loc) · 1.68 KB
-api-id -api-type
M:Windows.UI.Xaml.Hosting.XamlUIPresenter.GetFlyoutPlacementTargetInfo(Windows.UI.Xaml.FrameworkElement,Windows.UI.Xaml.Controls.Primitives.FlyoutPlacementMode,Windows.UI.Xaml.Controls.Primitives.FlyoutPlacementMode@,System.Boolean@)
winrt method

Windows.UI.Xaml.Hosting.XamlUIPresenter.GetFlyoutPlacementTargetInfo

-description

Returns calculated bounds of a placement target that is intended to also display a flyout in the host. Additional out parameters provide more info on how the bounds were calculated.

-parameters

-param placementTarget

The placement target element that the Flyout should be positioned in relation to.

-param preferredPlacement

A value of the enumeration that declares the host's preferred placement of the Flyout relative to the target.

-param targetPreferredPlacement

A value of the enumeration that declares preferred placement of the Flyout.

-param allowFallbacks

true if fallback placements are permitted for the Flyout placement logic. false if only the targetPreferredPlacement value should be considered.

-returns

The calculated placement target bounds.

-remarks

-examples

-see-also