Class PopupXY
Can be used to specify coordinates for various popup windows, like new PopupXY(x, y)
, (x, y)
, PopupXY.In(rectangle)
, PopupXY.Mouse
.
public class PopupXY
Namespace: Au.Types
Assembly: Au.dll
Constructors
Name | Description |
---|---|
PopupXY(Coord, Coord, bool, screen) | Sets position and/or screen. |
Fields
Name | Description |
---|---|
inRect | |
rect | |
screen | |
workArea | |
x | |
y |
Properties
Name | Description |
---|---|
Mouse | Gets point coordinates below mouse cursor, for showing a tooltip-like popup. |
Methods
Name | Description |
---|---|
GetScreen() | Gets screen.Now if not empty, else screen that contains the specified point. |
In(RECT, Coord, Coord) | Creates new PopupXY that specifies position in a rectangle. For example of the owner window. |
Operators
Name | Description |
---|---|
implicit operator PopupXY(POINT) | Creates new PopupXY that specifies position relative to the primary screen (not to the work area). |
implicit operator PopupXY((Coord x, Coord y)) | Creates new PopupXY that specifies position relative to the work area of the primary screen. |