Name | Description | |
---|---|---|
NScreen Constructor |
The following tables list the members exposed by NScreen.
Name | Description | |
---|---|---|
NScreen Constructor |
Name | Description | |
---|---|---|
Bounds | Gets the bounds of the screen (in DIPs) on the virtual screen. | |
FocusScreen | Gets the screen, which contains the keyboard focus. | |
Id | Gets the Id of this screen | |
IsPrimary | Gets whether this is the primary screen. | |
PrimaryScreen | Gets the primary screen | |
Resolution | Gets the resolution of the screen, in Dots Per Inch | |
Screens | Gets all screens available to the application. | |
WorkArea | Gets the bounds of screen working area (in DIPs) on the virtual screen. |
Name | Description | |
---|---|---|
DipsToPixels | Converts the specified dips measure to pixels, according to this screen resolution. | |
Equals | Overriden to compare screens by id. | |
GetDefaultScreen | Gets the default screen according to the specified mode. | |
GetHashCode | Overriden because Equals was overriden. | |
GetScreenById | Gets a screen by id. Returns null, if the screen is not found. You can use the negative NScreen.PrimaryScreenId and NScreen.FocusScreenId to dynamically identify the primary and focus screens. | |
GetScreenFromPoint | Gets the screen that is nearest to the specified rectangle. | |
GetScreenFromRect | Gets the screen that is nearest to the specified rectangle. | |
PixelsToDips | Converts the specified pixels measure to dips, according to this screen resolution. |
Equality | Determines whether a is equal to b |
Inequality | Determines whether a is not equal to b |