2016-11-26 54 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

希望這有助於!

相關問題