Share via


AnimatedIcon.MirroredWhenRightToLeft 屬性

定義

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

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; }
var boolean = animatedIcon.mirroredWhenRightToLeft;
animatedIcon.mirroredWhenRightToLeft = boolean;
Public Property MirroredWhenRightToLeft As Boolean

屬性值

Boolean

bool

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

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

備註

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

適用於

另請參閱