XamlMarkupHelper 类

定义

为 XAML 编译器提供帮助程序方法。

public ref class XamlMarkupHelper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [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(Microsoft.UI.Xaml.WinUIContract), 65536)]
[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
继承
Object Platform::Object IInspectable XamlMarkupHelper
属性

注解

此类用于 XAML 编译器生成的代码。

方法

UnloadObject(DependencyObject)

x:Load 加载的 XAML 可视化树中卸载元素。

适用于