答案 0 :(得分:0)
我不知道Mahapps.Metro
,但覆盖地铁窗口样式似乎足够了。
例如,此问题之一answers
<Style x:Key="newDialogStyle" BasedOn="{StaticResource MetroDialogStyle}" TargetType="{x:Type Dialogs:BaseMetroDialog}">
<!-- ur design of Control Template -->
</Style>
<Dialogs:CustomDialog Style="{StaticResource newDialogStyle}" Title="Custom Dialog which is awaitable">
<StackPanel>
<TextBlock Height="30"
Text="This dialog allows arbitrary content. You have to close it yourself by clicking the close button below."
TextWrapping="Wrap"
Foreground="{DynamicResource AccentColorBrush}" />
<Button Content="Close Me!"/>
</StackPanel>
</Dialogs:CustomDialog>