Edytuj

Udostępnij za pośrednictwem


WindowHelperService Class

Definition

Provides functionalities to register and unregister delegates for event notifications, as well as set ownership for windows.

public ref class WindowHelperService
public class WindowHelperService
type WindowHelperService = class
Public Class WindowHelperService
Inheritance
WindowHelperService

Constructors

WindowHelperService(IntPtr)

Initializes a new instance of the WindowHelperService class with the specific handle to a parent window.

Properties

ParentWindowHwnd

Gets or sets the handle of the parent window.

Methods

Equals(Object)

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)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RegisterWindowMessageHandler(WindowMessage)

Registers the specified delegate for event notifications.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TrySetWindowOwner(DependencyObject, Window)

Assigns the window to be the owner of the specified window.

UnregisterWindowMessageHandler(WindowMessage)

Unregisters the specified delegate for event notifications.

Applies to