Is there any way to change Mahapps messagebox window (ShowMessageAsync)'s flow direction to Right to left ?
Asked
Active
Viewed 689 times
2 Answers
4
You can set the FlowDirection for the whole MetroWindow and all childrens.
FlowDirection="RightToLeft"
If you only want to set this to MessageDialog then you can change the style e.g. in your App.xaml like this
<Style TargetType="{x:Type Dialog:MessageDialog}"
BasedOn="{StaticResource {x:Type Dialog:BaseMetroDialog}}">
<Setter Property="FlowDirection" Value="RightToLeft" />
</Style>
So all message dialogs will get this style.
Hope this helps!
punker76
- 14,326
- 5
- 58
- 96
1
Overwriting the style should do it,
see: How to change MahApps.Metro dialog content template width?
The answer has a nice little tutorial.
Community
- 1
- 1
SilentStorm
- 172
- 1
- 1
- 12
-
please summarize the link here. – Hamed Nov 30 '16 at 21:28

