FontIconSource.MirroredWhenRightToLeft Property

Definition

Gets or sets a value that indicates whether the icon is mirrored when its containing element's FlowDirection is RightToLeft.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.FontIconSource.MirroredWhenRightToLeft (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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"/>

Property Value

Boolean

bool

true if the icon is mirrored when the FlowDirection is FlowDirection.RightToLeft; otherwise, false. The default is false.

Remarks

You can set the MirroredWhenRightToLeft property to have the glyph appear mirrored when its containing element's FlowDirection is RightToLeft. You typically use this property when a FontIcon is used to display an icon as part of a control template and the icon needs to be mirrored along with the rest of the control.

Applies to