Share via


AnimatedIcon.MirroredWhenRightToLeft 屬性

定義

取得或設定值,這個值表示 當 FlowDirectionRightToLeft時,圖示是否會鏡像。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

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

屬性值

Boolean

bool

True 是表示 如果 當 FlowDirectionRightToLeft時,圖示會鏡像。 否則為 false。 預設值為 false。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

備註

您可以將 MirroredWhenRightToLeft 屬性設定為在 FlowDirectionRightToLeft時顯示圖像。 當您使用 AnimatedIcon 做為控制項範本的一部分,而且圖示需要與控制項的其餘部分一起鏡像時,您通常會使用這個屬性。

適用於

另請參閱