System.Windows.Forms.Screen Members

The members of System.Windows.Forms.Screen are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
static
AllScreensScreen[].

Gets an array of all displays on the system.

[read-only]
BitsPerPixelint.

Gets the number of bits of memory, associated with one pixel of data.

[read-only]
BoundsSystem.Drawing.Rectangle.

Gets the bounds of the display.

[read-only]
DeviceNamestring.

Gets the device name associated with a display.

[read-only]
Primarybool.

Gets a value indicating whether a particular display is the primary device.

[read-only]
static
PrimaryScreenScreen.

Gets the primary display.

[read-only]
WorkingAreaSystem.Drawing.Rectangle.

Gets the working area of the display. The working area is the desktop area of the display, excluding taskbars, docked windows, and docked tool bars.

Public Methods

override
Equals(object) : bool

Gets or sets a value indicating whether the specified object is equal to this Screen.

static
FromControl(Control) : Screen

Retrieves a System.Windows.Forms.Screen for the display that contains the largest portion of the specified control.

static
FromHandle(IntPtr) : Screen

Retrieves a System.Windows.Forms.Screen for the display that contains the largest portion of the object referred to by the specified handle.

static
FromPoint(System.Drawing.Point) : Screen

Retrieves a System.Windows.Forms.Screen for the display that contains the specified point.

static
FromRectangle(System.Drawing.Rectangle) : Screen

Retrieves a System.Windows.Forms.Screen for the display that contains the largest portion of the rectangle.

static
GetBounds(System.Drawing.Point) : System.Drawing.Rectangle

Retrieves the bounds of the display that contains the specified point.

static
GetBounds(System.Drawing.Rectangle) : System.Drawing.Rectangle

Retrieves the bounds of the display that contains the largest portion of the specified rectangle.

static
GetBounds(Control) : System.Drawing.Rectangle

Retrieves the bounds of the display that contains the largest portion of the specified control.

override
GetHashCode() : int

Computes and retrieves a hash code for an object.

static
GetWorkingArea(System.Drawing.Point) : System.Drawing.Rectangle

Retrieves the working area closest to the specified point. The working area is the desktop area of the display, excluding taskbars, docked windows, and docked tool bars.

static
GetWorkingArea(System.Drawing.Rectangle) : System.Drawing.Rectangle

Retrieves the working area for the display that contains the largest portion of the specified rectangle. The working area is the desktop area of the display, excluding taskbars, docked windows, and docked tool bars.

static
GetWorkingArea(Control) : System.Drawing.Rectangle

Retrieves the working area for the display that contains the largest region of the specified control. The working area is the desktop area of the display, excluding taskbars, docked windows, and docked tool bars.

override
ToString() : string

Retrieves a string representing this object.