[]
Positions a Popup so that the specified point in the Popup matches the specified point of a FrameworkElement.
public static void Position(Popup popup, Anchor popupAnchor, FrameworkElement element, Anchor elementAnchor)
Type | Name | Description |
---|---|---|
Popup | popup | The popup to position. |
Anchor | popupAnchor | An Anchor value specifying the point in the Popup. |
FrameworkElement | element | The FrameworkElement to use as reference. |
Anchor | elementAnchor | An Anchor value specifying the point in the FrameworkElement. |
Positions a Popup in a specified absolute point.
public static void Position(Popup popup, Point point)
Type | Name | Description |
---|---|---|
Popup | popup | The popup to position. |
Point | point | The popup position. |