Dil

StaticResourceExtension Sınıf

Tanım

kaynağından ResourceDictionaryçözümleyen bir XAML işaretleme uzantısı sağlar.

public ref class StaticResourceExtension sealed : 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), typeof(Microsoft.Maui.Controls.Xaml.IRootObjectProvider) })]
public sealed class StaticResourceExtension : 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")>]
[<Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IXmlLineInfoProvider), typeof(Microsoft.Maui.Controls.Xaml.IProvideParentValues), typeof(Microsoft.Maui.Controls.Xaml.IRootObjectProvider) })>]
type StaticResourceExtension = class
    interface 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
Devralma
StaticResourceExtension
Öznitelikler
Uygulamalar

Oluşturucular

Name Description
StaticResourceExtension()

kaynağından ResourceDictionaryçözümleyen bir XAML işaretleme uzantısı sağlar.

Özellikler

Name Description
Key

Alınacak kaynağın anahtarını alır veya ayarlar.

Yöntemler

Name Description
ProvideValue(IServiceProvider)

kaynağından ResourceDictionaryçözümleyen bir XAML işaretleme uzantısı sağlar.

Şunlara uygulanır