This is an adpater of System.Windows.Forms.Screen, in order to get rid of System.Windows.Forms dependency for WPF dlls.
I choose the name "DesktopScreen" just don't want to mess up with some existing code that uses System.Windows.Forms.Screen(e.g. UserInterfaceUtilities).
Static Public Member Functions |
|
static DesktopScreen | FromPoint (System.Windows.Point point) |
Return an Screen object that contains a
specified point. |
|
Properties |
|
System.Windows.Rect |
Bounds [get] |
Adapts System.Windows.Forms.Screen.Bounds.
|
|
string |
DeviceName [get] |
Adapts
System.Windows.Forms.Screen.DeviceName. |
static DesktopScreen CSharpUtilities::DesktopScreen::FromPoint | ( | System.Windows.Point | point | ) | [inline, static] |
Return an Screen object that contains a specified point.
point | The testing point. |
System.Windows.Rect
CSharpUtilities::DesktopScreen::Bounds [get] |
Adapts System.Windows.Forms.Screen.Bounds.
string
CSharpUtilities::DesktopScreen::DeviceName [get] |
Adapts System.Windows.Forms.Screen.DeviceName.