Redigera

Dela via


HwndSourceParameters.WindowName Property

Definition

Gets or sets the name of the window.

public:
 property System::String ^ WindowName { System::String ^ get(); void set(System::String ^ value); };
public string WindowName { get; set; }
member this.WindowName : string with get, set
Public Property WindowName As String

Property Value

The window name.

Remarks

Important

Do not construct instances of this structure using the default (parameterless) constructor. An HwndSourceParameters instance that is created by the parameterless constructor results in HwndSourceParameters that cannot be assigned a WindowName (even though the WindowName property appears to be settable). If such an instance is applied as the parameters for an HwndSource constructor, the resulting HwndSource cannot display a window.

Applies to

See also