Skip to content

Instantly share code, notes, and snippets.

@mattpodwysocki
Created August 25, 2016 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattpodwysocki/f6641702b9518fa364ffee811c7b1bf5 to your computer and use it in GitHub Desktop.
Save mattpodwysocki/f6641702b9518fa364ffee811c7b1bf5 to your computer and use it in GitHub Desktop.
string resourceFlowDirection = ResourceContext.GetForCurrentView().QualifierValues["LayoutDirection"];
if (resourceFlowDirection == "LTR")
{
RootFrame.FlowDirection = FlowDirection.LeftToRight;
}
else
{
RootFrame.FlowDirection = FlowDirection.RightToLeft;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment