共用方式為


FontIconSource.MirroredWhenRightToLeft 屬性

定義

取得或設定值,這個值表示圖示是否在包含專案的 FlowDirectionRightToLeft 時鏡像。

public:
 property bool MirroredWhenRightToLeft { bool get(); void set(bool value); };
bool MirroredWhenRightToLeft();

void MirroredWhenRightToLeft(bool value);
public bool MirroredWhenRightToLeft { get; set; }
var boolean = fontIconSource.mirroredWhenRightToLeft;
fontIconSource.mirroredWhenRightToLeft = boolean;
Public Property MirroredWhenRightToLeft As Boolean
<FontIconSource MirroredWhenRightToLeft="bool"/>

屬性值

Boolean

bool

如果 FlowDirection 為 FlowDirection.RightToLeft 時,圖示會鏡像,則為 true;否則為 false。 預設值為 false

備註

您可以設定 MirroredWhenRightToLeft 屬性,使其在包含元素的 FlowDirectionRightToLeft 時,將圖像顯示為鏡像。 當您使用 FontIcon 來顯示圖示做為控件範本的一部分時,通常會使用這個屬性,而且圖示必須與控件的其餘部分一起鏡像。

適用於