Share via


FontIconSource.MirroredWhenRightToLeft Propiedad

Definición

Obtiene o establece un valor que indica si el icono se refleja cuando su flowDirection del elemento contenedor es RightToLeft.

Esta documentación se aplica a WinUI 2 para UWP (para WinUI en el SDK de Aplicaciones para Windows, consulta los espacios de nombres SDK de Aplicaciones para Windows).

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

Valor de propiedad

Boolean

bool

true si el icono se refleja cuando FlowDirection es FlowDirection.RightToLeft; de lo contrario, false. El valor predeterminado es false.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Comentarios

Puede establecer la propiedad MirroredWhenRightToLeft para que el glifo aparezca reflejado cuando su flowDirection del elemento contenedor es RightToLeft. Normalmente se usa esta propiedad cuando se usa fontIcon para mostrar un icono como parte de una plantilla de control y el icono debe reflejarse junto con el resto del control.

Se aplica a