Skip to content
Bishoymly edited this page Aug 8, 2012 · 3 revisions

If you want your application to be Arabic or just Right to Left, do the following steps:

  1. 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.

  2. 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">&#xE0AA;</x:String>
    <x:String x:Key="BackButtonSnappedGlyph">&#xE0AC;</x:String>
    </ResourceDictionary>
    <ResourceDictionary x:Key="HighContrast">
    <x:String x:Key="BackButtonGlyph">&#xE0AA;</x:String>
    <x:String x:Key="BackButtonSnappedGlyph">&#xE0AC;</x:String>
    </ResourceDictionary>
    </ResourceDictionary.ThemeDictionaries>

  • Find: BackButtonStyle, and put &#xE0AB; in the ArrowGlyph Text value.

  • Find: SnappedBackButtonStyle, and put &#xE0AD; in the ArrowGlyph Text value.

Clone this wiki locally