StaticResourceExtension クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ResourceDictionaryからリソースを解決する XAML マークアップ拡張機能を提供します。
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
- 継承
-
StaticResourceExtension
- 属性
- 実装
コンストラクター
| 名前 | 説明 |
|---|---|
| StaticResourceExtension() |
ResourceDictionaryからリソースを解決する XAML マークアップ拡張機能を提供します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| Key |
取得するリソースのキーを取得または設定します。 |
メソッド
| 名前 | 説明 |
|---|---|
| ProvideValue(IServiceProvider) |
ResourceDictionaryからリソースを解決する XAML マークアップ拡張機能を提供します。 |