WindowInfo Class

Provides information about a process window.

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class WindowInfo
Inheritance
Object    WindowInfo

Constructors

WindowInfo(IntPtr) Initializes a new instance of the WindowInfo class.
WindowInfo(SafeWindowHandle) Initializes a new instance of the WindowInfo class.

Properties

Active Gets a value that determine whether the window is active.
AtomWindowType Gets the window class atom.
BorderHeight Gets the height of the window border, in pixels.
BorderWidth Gets the width of the window border, in pixels.
Bounds Gets or sets the size and position of this window.
ChildWindow Gets the child window (if any) at the top of the Z order of this window, if this window is a parent window.
ClassName Gets the window class name.
ClientRectangle Gets the size and position of the client area of this window.
CreatorVersion Gets the Microsoft Windows version of the application that created the window.
DeviceContext Gets a handle to a device context (DC) for this window.
Enabled Gets a value that determine whether the window is enabled for keyboard and mouse input.
FirstWindow Gets the window (if any) of the same type of this window that is first (highest) in the Z order.
Hwnd Gets the window handle.
LastWindow Gets the window (if any) of the same type of this window that is last (lowest) in the Z order.
Maximized Gets a value that determine whether the window is maximized.
Minimized Gets a value that determine whether the window is minimized.
NextWindow Gets the window (if any) that is next (below) this window in the Z order.
OwnerWindow Gets the owner window of this window.
ParentWindow Gets the parent window of this window.
PreviousWindow Gets the window (if any) that is previous (above) this window in the Z order.
Process Gets the identifier of the process that created this window.
Screen Gets the display device on which this window is shown.
Text Gets or sets the window text.
ThreadId Gets the identifier of the thread that created this window.
Visible Gets a value that determine the visibility state of the specified window.

Returns if the window is minimized or hide.

Because the return value specifies whether the window has the Visible style, it may return even if the window is totally obscured by other windows.

WindowPlacement Gets or sets the window placement.
WindowStyle Gets or sets the window style.
WindowStyleExtended Gets or sets the extended window styles.

Methods

EnumerateChildWindows Enumerates the child windows of this window.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
IsChild Determines whether this window is a child window or descendant window of a specified parent window.
SetForegroundWindow Brings the thread that created this window into the foreground, and activates the window.

Keyboard input is directed to the window, and various visual cues are changed for the user.

ShowWindow Sets the specified window's show state.
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also