Reputation: 2168
Is there any way to change Mahapps messagebox window (ShowMessageAsync)'s flow direction to Right to left ?
Upvotes: 1
Views: 743
Reputation: 14621
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!
Upvotes: 4
Reputation: 170
Overwriting the style should do it,
see: How to change MahApps.Metro dialog content template width?
The answer has a nice little tutorial.
Upvotes: 1