StaticResourceExtension Klas
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Biedt een XAML-markeringsextensie waarmee een resource van een ResourceDictionary.
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
- Overname
-
StaticResourceExtension
- Kenmerken
- Implementeringen
Constructors
| Name | Description |
|---|---|
| StaticResourceExtension() |
Biedt een XAML-markeringsextensie waarmee een resource van een ResourceDictionary. |
Eigenschappen
| Name | Description |
|---|---|
| Key |
Hiermee haalt u de sleutel van de resource op of stelt u deze in om op te halen. |
Methoden
| Name | Description |
|---|---|
| ProvideValue(IServiceProvider) |
Biedt een XAML-markeringsextensie waarmee een resource van een ResourceDictionary. |