Language
Edit

WindowsXamlHostBase Constructors

Definition

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.

Applies to