FontIconSource.MirroredWhenRightToLeft Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the icon is mirrored when its containing element's FlowDirection is RightToLeft.
This documentation applies to WinUI 2 for UWP (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);
/// [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 { get; 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
<FontIconSource MirroredWhenRightToLeft="bool"/>
Property Value
bool
true if the icon is mirrored when the FlowDirection is FlowDirection.RightToLeft; otherwise, false. The default is false.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute
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.