2016-11-26 56 views

回答

4

您可以为整个MetroWindow和所有儿童设置FlowDirection

FlowDirection="RightToLeft" 

enter image description here

如果你只是想将它设置为MessageDialog,那么你可以改变风格例如在你的App.xaml中是这样的

<Style TargetType="{x:Type Dialog:MessageDialog}" 
     BasedOn="{StaticResource {x:Type Dialog:BaseMetroDialog}}"> 
    <Setter Property="FlowDirection" Value="RightToLeft" /> 
</Style> 

所以所有的消息对话框都会得到这种样式。

enter image description here

希望这有助于!

相关问题