-
Notifications
You must be signed in to change notification settings - Fork 4
Right to Left
If you want your application to be Arabic or just Right to Left, do the following steps:
-
In the Common\LayoutAwarePageChange.xaml.cs add this line to Loaded event:
this.FlowDirection = Windows.UI.Xaml.FlowDirection.RightToLeft;
This line changes the flow direction in all pages since they all inherit from this page. -
Change the back button arrow direction by applying the following changes in StandardStyles.xaml:
-
Put the following instead of the first part of the file:
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Default">
<x:String x:Key="BackButtonGlyph"></x:String>
<x:String x:Key="BackButtonSnappedGlyph"></x:String>
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrast">
<x:String x:Key="BackButtonGlyph"></x:String>
<x:String x:Key="BackButtonSnappedGlyph"></x:String>
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries> -
Find: BackButtonStyle, and put  in the ArrowGlyph Text value.
-
Find: SnappedBackButtonStyle, and put  in the ArrowGlyph Text value.