This documentation is archived and is not being maintained.

Screen Members

Screen overview

Public Properties

public propertystatic (Shared in Visual Basic)AllScreens Gets an array of all displays on the system.
public propertyBounds

Supported by the .NET Compact Framework.

Gets the bounds of the display.
public propertyDeviceName Gets the device name associated with a display.
public propertyPrimary Gets a value indicating whether a particular display is the primary device.
public propertystatic (Shared in Visual Basic)PrimaryScreen

Supported by the .NET Compact Framework.

Gets the primary display.
public propertyWorkingArea

Supported by the .NET Compact Framework.

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

public methodEquals

Supported by the .NET Compact Framework.

Overridden. Gets or sets a value indicating whether the specified object is equal to this Screen.
public methodstatic (Shared in Visual Basic)FromControl Retrieves a Screen for the display that contains the largest portion of the specified control.
public methodstatic (Shared in Visual Basic)FromHandle Retrieves a Screen for the display that contains the largest portion of the object referred to by the specified handle.
public methodstatic (Shared in Visual Basic)FromPoint Retrieves a Screen for the display that contains the specified point.
public methodstatic (Shared in Visual Basic)FromRectangle Retrieves a Screen for the display that contains the largest portion of the rectangle.
public methodstatic (Shared in Visual Basic)GetBounds Overloaded. Retrieves the bounds of the display.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. See Object.GetHashCode.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)GetWorkingArea Overloaded. Retrieves the working area of a display.
public methodToString

Supported by the .NET Compact Framework.

Overridden. See Object.ToString.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Screen Class | System.Windows.Forms Namespace

Show: