[]
Utility methods for popups.
public static class PopupUtil
Public Module PopupUtil
| Name | Description |
|---|---|
| GetPosition(UIElement, Point) | return a absolute position according to the relative position of element |
| Position(Popup, Anchor, FrameworkElement, Anchor) | Positions a Microsoft.UI.Xaml.Controls.Primitives.Popup so that the specified point in the Popup matches the specified point of a FrameworkElement. |
| Position(Popup, Point) | Positions a Microsoft.UI.Xaml.Controls.Primitives.Popup in a specified absolute point. |
| TestPosition(Popup, Anchor, FrameworkElement, Anchor) | Calculates the position of a Microsoft.UI.Xaml.Controls.Primitives.Popup so that the specified point in the Popup matches the specified point of a FrameworkElement. |
| TestPosition(Popup, Anchor, FrameworkElement, Anchor, double, double) | Calculates the position of a Microsoft.UI.Xaml.Controls.Primitives.Popup so that the specified point in the Popup matches the specified point of a FrameworkElement. |
| TestPosition(FrameworkElement, Anchor, FrameworkElement, Anchor, double, double) | Calculates the position of a Microsoft.UI.Xaml.FrameworkElement so that the specified point in the FrameworkElement matches the specified point of another FrameworkElement. |
| TestPosition(FrameworkElement, Anchor, FrameworkElement, Anchor, Point, double, double) | Calculates the position of a Microsoft.UI.Xaml.FrameworkElement so that the specified point in the FrameworkElement matches the specified point of another FrameworkElement. |
| TestPosition(FrameworkElement, Anchor, FrameworkElement, Anchor, Point, double, double, FlowDirection) | Calculates the position of a Microsoft.UI.Xaml.FrameworkElement so that the specified point in the FrameworkElement matches the specified point of another FrameworkElement. |