-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 |
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.
The placement target element that the Flyout should be positioned in relation to.
A value of the enumeration that declares the host's preferred placement of the Flyout relative to the target.
A value of the enumeration that declares preferred placement of the Flyout.
true if fallback placements are permitted for the Flyout placement logic. false if only the targetPreferredPlacement value should be considered.
The calculated placement target bounds.