WindowsXamlHostBase Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| WindowsXamlHostBase() |
Initializes a new instance of the WindowsXamlHostBase class. |
| WindowsXamlHostBase(String) |
Initializes a new instance of the WindowsXamlHostBase class. |
WindowsXamlHostBase()
Initializes a new instance of the WindowsXamlHostBase class.
public WindowsXamlHostBase();
Public Sub New ()
Remarks
Default constructor is required for use in WPF markup. When the default constructor is called, object properties have not been set. Put WPF logic in OnInitialized.
Applies to
WindowsXamlHostBase(String)
Initializes a new instance of the WindowsXamlHostBase class.
public WindowsXamlHostBase(string typeName);
new Microsoft.Toolkit.Wpf.UI.XamlHost.WindowsXamlHostBase : string -> Microsoft.Toolkit.Wpf.UI.XamlHost.WindowsXamlHostBase
Public Sub New (typeName As String)
Parameters
- typeName
- String
UWP XAML Type name
Remarks
Constructor is required for use in WPF markup. When the default constructor is called, object properties have not been set. Put WPF logic in OnInitialized.