FontIconSource.MirroredWhenRightToLeft Eigenschaft

Definition

Ruft einen Wert ab oder legt einen Wert fest, der angibt, ob das Symbol gespiegelt wird, wenn die FlowDirection des Elements rechtsToLeft ist.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die 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"/>

Eigenschaftswert

Boolean

bool

true, wenn das Symbol gespiegelt wird, wenn die FlowDirection "FlowDirection".RightToLeft; andernfalls false. Die Standardeinstellung ist false.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Hinweise

Sie können die MirroredWhenRightToLeft-Eigenschaft so festlegen, dass die Glyphen gespiegelt werden, wenn die FlowDirection des enthaltenen Elements rechtsToLeft ist. Sie verwenden diese Eigenschaft in der Regel, wenn ein FontIcon verwendet wird, um ein Symbol als Teil einer Steuerelementvorlage anzuzeigen, und das Symbol muss zusammen mit dem rest des Steuerelements gespiegelt werden.

Gilt für: