[]
        
(Showing Draft Content)

C1.WPF.PopupUtil

PopupUtil Class

Utility methods for popups.

Inheritance
PopupUtil
Namespace: C1.WPF
Assembly: C1.WPF.4.6.2.dll
Syntax
public static class 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 Popup so that the specified point in the Popup matches the specified point of a FrameworkElement.

Position(Popup, Point)

Positions a Popup in a specified absolute point.

TestPosition(Popup, Anchor, FrameworkElement, Anchor)

Calculates the position of a 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 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 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 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 FrameworkElement so that the specified point in the FrameworkElement matches the specified point of another FrameworkElement.