Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HwndSourceParameters Constructor

Initializes a new instance of the HwndSourceParameters class. Do not use the default constructor for HwndSourceParameters; see Remarks.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method HwndSourceParameters(String) Initializes a new instance of the HwndSourceParameters class with a specified window name.
Public method HwndSourceParameters(String, Int32, Int32) Initializes a new instance of the HwndSourceParameters class with a specified window name and initial size.
Top

Important noteImportant

Do not construct instances of this structure using the default (parameterless) constructor. An HwndSourceParameters instance that is created by the default 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.

Community Additions

ADD
Show:
© 2015 Microsoft