C# Класс WpfScreenHelper.Screen

Represents a display device or multiple display devices on a single system.
Показать файл Открыть проект

Открытые методы

Метод Описание
Equals ( object obj ) : bool

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

FromHandle ( IntPtr hwnd ) : Screen

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

FromPoint ( Point point ) : Screen

Retrieves a Screen for the display that contains the specified point.

GetHashCode ( ) : int

Computes and retrieves a hash code for an object.

Приватные методы

Метод Описание
Screen ( ) : System
Screen ( IntPtr monitor ) : System
Screen ( IntPtr monitor, IntPtr hdc ) : System

Описание методов

Equals() публичный Метод

Gets or sets a value indicating whether the specified object is equal to this Screen.
public Equals ( object obj ) : bool
obj object The object to compare to this Screen.
Результат bool

FromHandle() публичный статический Метод

Retrieves a Screen for the display that contains the largest portion of the specified control.
public static FromHandle ( IntPtr hwnd ) : Screen
hwnd System.IntPtr The window handle for which to retrieve the Screen.
Результат Screen

FromPoint() публичный статический Метод

Retrieves a Screen for the display that contains the specified point.
public static FromPoint ( Point point ) : Screen
point Point A that specifies the location for which to retrieve a Screen.
Результат Screen

GetHashCode() публичный Метод

Computes and retrieves a hash code for an object.
public GetHashCode ( ) : int
Результат int