XamlFragment Constructors

Definition

Overloads

XamlFragment(Object)

Initializes a new instance of the XamlFragment class.

XamlFragment(String)

Initializes a new instance of the XamlFragment class.

XamlFragment(Object)

Initializes a new instance of the XamlFragment class.

public XamlFragment (object xamlSerializable);
new Microsoft.VisualStudio.Extensibility.UI.XamlFragment : obj -> Microsoft.VisualStudio.Extensibility.UI.XamlFragment
Public Sub New (xamlSerializable As Object)

Parameters

xamlSerializable
Object

The object to be converted to XAML using Save(Object).

Remarks

This constructor must be called from the thread owning xamlSerializable.

Applies to

XamlFragment(String)

Initializes a new instance of the XamlFragment class.

public XamlFragment (string xaml);
new Microsoft.VisualStudio.Extensibility.UI.XamlFragment : string -> Microsoft.VisualStudio.Extensibility.UI.XamlFragment
Public Sub New (xaml As String)

Parameters

xaml
String

The XAML document text.

Applies to