Method | Description | |
---|---|---|
GetFileIcon ( string fileName ) : object | ||
GetMouseLocation ( ) : System.Point |
Gets the current global mouse location.
|
|
GetScaleFactor ( object backend ) : double |
Gets the scale factor for the screen. The normal value is 1. In a retina display the value is 2. |
|
GetScreenBounds ( object backend ) : Rectangle |
Gets the bounds of a screen, in desktop coordinates
|
|
GetScreenDeviceName ( object backend ) : string |
Gets the name of the screen device.
|
|
GetScreenVisibleBounds ( object backend ) : Rectangle |
Gets the visible bounds of a screen (excluding dock area and other decorations), in desktop coordinates
|
|
GetScreens ( ) : IEnumerable |
List of screens that compose the desktop
|
|
IsPrimaryScreen ( object backend ) : bool |
Determines whether the provided screen is the primary screen The primary screen is considered the screen where the 'main desktop' lives. |
|
OnScreensChanged ( ) : void |
Raises the ScreensChanged event. To be called by the subclass when there is a change in the configuration of screens |
|
OpenFile ( string filename ) : void | ||
OpenFolder ( string folderPath ) : void | ||
OpenUrl ( string url ) : void |
public GetFileIcon ( string fileName ) : object | ||
fileName | string | |
return | object |
public abstract GetMouseLocation ( ) : System.Point | ||
return | System.Point |
public GetScaleFactor ( object backend ) : double | ||
backend | object | A screen backend |
return | double |
public abstract GetScreenBounds ( object backend ) : Rectangle | ||
backend | object | A screen backend |
return | Rectangle |
public abstract GetScreenDeviceName ( object backend ) : string | ||
backend | object | A screen backend |
return | string |
public abstract GetScreenVisibleBounds ( object backend ) : Rectangle | ||
backend | object | A screen backend |
return | Rectangle |
public abstract IsPrimaryScreen ( object backend ) : bool | ||
backend | object | Screen backend |
return | bool |
public OpenFolder ( string folderPath ) : void | ||
folderPath | string | |
return | void |