MaterialDesignInXamlToolkit
MaterialDesignInXamlToolkit copied to clipboard
DialogHost Style
How can i change "wpf:Card.Style" with "MaterialDesignOutlinedCard"?
At present, the style for the internal card on the dialog host is not exposed, so there is no simple way to expose that.
@Keboo The dailog host content is so blurry with default card style. Can you add a new style named "MaterialDesignOutlinedDialogHost"?
...
<wpf:Card.Style>
<Style TargetType="wpf:Card" BasedOn="{StaticResource MaterialDesignOutlinedCard}">
<Setter Property="Background" Value="{Binding Tag, RelativeSource={RelativeSource Self}}" />
<Style.Triggers>
<Trigger Property="Tag" Value="{x:Null}">
<Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" />
</Trigger>
</Style.Triggers>
</Style>
</wpf:Card.Style>\
...