Udostępnij za pośrednictwem


XamlMarkupHelper Class

Definition

Provides helper methods for the XAML compiler.

public ref class XamlMarkupHelper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XamlMarkupHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class XamlMarkupHelper
Public NotInheritable Class XamlMarkupHelper
Inheritance
Object Platform::Object IInspectable XamlMarkupHelper
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

This class is for use in code that is generated by the XAML compiler.

Methods

UnloadObject(DependencyObject)

Unloads an element from the XAML visual tree that was loaded by x:Load.

Applies to