HwndSource Constructor (HwndSourceParameters)
Initializes a new instance of the HwndSource class by using a structure that contains the initial settings.
Assembly: PresentationCore (in PresentationCore.dll)
This method is not available in the Internet security zone.
This constructor signature might be more convenient in certain situations, because the default structure contains some appropriate initial default values.
If you use this signature, do not use the default HwndSourceParameters constructor to construct the HwndSourceParameters structure for the parameters value. You must use the HwndSourceParameters constructor that enables you to specify an initial window name. If you use the default HwndSourceParameters constructor and create an HwndSource with it, that HwndSource does not display because an initial window name is a construction requirement for the represented HWND.
Available since 3.0