HwndWrapper.EnsureHandle Method

Definition

Ensures that the handle for this window is created (creating the handle if it doesn't already exist).

Note that EnsureHandle will fail to create the window's handle if creation is not allowed. In this case, the Handle is left uncreated for the current call.

public:
 void EnsureHandle();
public:
 void EnsureHandle();
void EnsureHandle();
public void EnsureHandle ();
member this.EnsureHandle : unit -> unit
Public Sub EnsureHandle ()

Applies to