Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public BaseViewModel()
- {
- Language.PropertyChanged += (sender, e) =>
- {
- if (Language.CurrentLanguageAbbr == LanguageCode.Arabic)
- {
- FlowDirection = FlowDirection.RightToLeft;
- }
- else
- {
- FlowDirection = FlowDirection.LeftToRight;
- }
- };
- }
Add Comment
Please, Sign In to add comment