[]
        
(Showing Draft Content)

C1.WinUI.Input.PopupUtil

PopupUtil Class

Utility methods for popups.

Inheritance
PopupUtil
Namespace: C1.WinUI.Input
Assembly: C1.WinUI.Input.dll
Syntax
public static class PopupUtil
Public Module PopupUtil

Methods

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.