This documentation is archived and is not being maintained.

Screen Members

Represents a display device or multiple display devices on a single system.

The Screen type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Equals Gets or sets a value indicating whether the specified object is equal to this Screen. (Overrides Object.Equals(Object).)

In .NET Compact Framework 3.5, this member is inherited from Object.Equals(Object).
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromControl Retrieves a Screen for the display that contains the largest portion of the specified control.
Public method Static member FromHandle Retrieves a Screen for the display that contains the largest portion of the object referred to by the specified handle.
Public method Static member FromPoint Retrieves a Screen for the display that contains the specified point.
Public method Static member FromRectangle Retrieves a Screen for the display that contains the largest portion of the rectangle.
Public method Static member GetBounds Overloaded. Retrieves the bounds of the display.
Public method Supported by the .NET Compact Framework GetHashCode Computes and retrieves a hash code for an object. (Overrides Object.GetHashCode().)

In .NET Compact Framework 3.5, this member is inherited from Object.GetHashCode().
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member GetWorkingArea Overloaded. Retrieves the working area of a display.
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString Retrieves a string representing this object. (Overrides Object.ToString().)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Top

  NameDescription
Public property Static member AllScreens Gets an array of all displays on the system.
Public property BitsPerPixel Gets the number of bits of memory, associated with one pixel of data.
Public property Supported by the .NET Compact Framework Bounds Gets the bounds of the display.
Public property DeviceName Gets the device name associated with a display.
Public property Primary Gets a value indicating whether a particular display is the primary device.
Public property Static member Supported by the .NET Compact Framework PrimaryScreen Gets the primary display.
Public property Supported by the .NET Compact Framework WorkingArea 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.
Top
Show: