共用方式為


AppThemeBindingExtension Class

Definition

public ref class AppThemeBindingExtension : Microsoft::Maui::Controls::Xaml::IMarkupExtension<Microsoft::Maui::Controls::BindingBase ^>
[Microsoft.Maui.Controls.ContentProperty("Default")]
public class AppThemeBindingExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.BindingBase>
[Microsoft.Maui.Controls.ContentProperty("Default")]
[Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IProvideValueTarget), typeof(Microsoft.Maui.Controls.Xaml.IValueConverterProvider), typeof(Microsoft.Maui.Controls.Xaml.IXmlLineInfoProvider), typeof(Microsoft.Maui.Controls.Xaml.IConverterOptions) })]
public class AppThemeBindingExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.BindingBase>
[<Microsoft.Maui.Controls.ContentProperty("Default")>]
type AppThemeBindingExtension = class
    interface IMarkupExtension<BindingBase>
    interface IMarkupExtension
[<Microsoft.Maui.Controls.ContentProperty("Default")>]
[<Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IProvideValueTarget), typeof(Microsoft.Maui.Controls.Xaml.IValueConverterProvider), typeof(Microsoft.Maui.Controls.Xaml.IXmlLineInfoProvider), typeof(Microsoft.Maui.Controls.Xaml.IConverterOptions) })>]
type AppThemeBindingExtension = class
    interface IMarkupExtension<BindingBase>
    interface IMarkupExtension
Public Class AppThemeBindingExtension
Implements IMarkupExtension(Of BindingBase)
Inheritance
AppThemeBindingExtension
Attributes
Implements

Constructors

AppThemeBindingExtension()

Properties

Dark
Default
Light
Value

Methods

ProvideValue(IServiceProvider)

Explicit Interface Implementations

IMarkupExtension<BindingBase>.ProvideValue(IServiceProvider)

Applies to