Bagikan melalui


AnimatedIcon.MirroredWhenRightToLeft Properti

Definisi

Mendapatkan atau mengatur nilai yang menunjukkan apakah ikon dicerminkan saat FlowDirection adalah RightToLeft.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

public:
 property bool MirroredWhenRightToLeft { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
bool MirroredWhenRightToLeft();

void MirroredWhenRightToLeft(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
bool MirroredWhenRightToLeft();

void MirroredWhenRightToLeft(bool value);
public bool MirroredWhenRightToLeft { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public bool MirroredWhenRightToLeft { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
Public Property MirroredWhenRightToLeft As Boolean

Nilai Properti

Boolean

bool

Benar, jika ikon dicerminkan saat FlowDirection adalah RightToLeft. Jika tidak, salah. Defaultnya adalah false (salah).

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Keterangan

Anda dapat mengatur properti MirroredWhenRightToLeft agar glyph muncul dicerminkan saat FlowDirection adalah RightToLeft. Anda biasanya menggunakan properti ini ketika AnimatedIcon digunakan sebagai bagian dari templat kontrol dan ikon perlu dicerminkan bersama dengan kontrol lainnya.

Berlaku untuk

Lihat juga