共用方式為


StaticResourceExtension Class

Definition

public ref class StaticResourceExtension sealed : Microsoft::Maui::Controls::Xaml::IMarkupExtension
[Microsoft.Maui.Controls.ContentProperty("Key")]
public sealed class StaticResourceExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension
[Microsoft.Maui.Controls.ContentProperty("Key")]
[Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IXmlLineInfoProvider), typeof(Microsoft.Maui.Controls.Xaml.IProvideParentValues) })]
public sealed class StaticResourceExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension
[<Microsoft.Maui.Controls.ContentProperty("Key")>]
type StaticResourceExtension = class
    interface IMarkupExtension
[<Microsoft.Maui.Controls.ContentProperty("Key")>]
[<Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IXmlLineInfoProvider), typeof(Microsoft.Maui.Controls.Xaml.IProvideParentValues) })>]
type StaticResourceExtension = class
    interface IMarkupExtension
Public NotInheritable Class StaticResourceExtension
Implements IMarkupExtension
Inheritance
StaticResourceExtension
Attributes
Implements

Constructors

StaticResourceExtension()

Properties

Key

Methods

ProvideValue(IServiceProvider)

Applies to