RevealBrush.TargetTheme Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Penting
RevealBrush tersedia untuk digunakan dalam sistem operasi yang ditentukan di bagian Persyaratan. Namun, kami tidak merekomendasikan penggunaannya karena dapat diubah atau tidak tersedia dalam versi berikutnya.
Mendapatkan atau menetapkan nilai yang menentukan tema yang digunakan untuk menggambar kuas dan cahaya, untuk memastikan bahwa resep efek komposisi yang benar digunakan untuk tema yang diinginkan.
Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).
public:
property ApplicationTheme TargetTheme { ApplicationTheme get(); void set(ApplicationTheme value); };
ApplicationTheme TargetTheme();
void TargetTheme(ApplicationTheme value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")]
ApplicationTheme TargetTheme();
void TargetTheme(ApplicationTheme value);
public ApplicationTheme TargetTheme { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")]
public ApplicationTheme TargetTheme { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")] set; }
Public Property TargetTheme As ApplicationTheme
Nilai Properti
Nilai ApplicationTheme.
- Atribut
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute