<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style TargetType="TextBlock" x:Key="MessageBoxIcon">
        <Setter Property="FontFamily" Value="../../Fonts/#icomoon"></Setter>
        <Setter Property="FontSize" Value="36" />        
        <Style.Triggers>
            <DataTrigger Binding="{Binding MessageBoxType}" Value="Warning">
                <Setter Property="Text" Value="&#xe6f4;"/>
                <Setter Property="Foreground" Value="#F26700" />
            </DataTrigger>
            <DataTrigger Binding="{Binding MessageBoxType}" Value="Error">
                <Setter Property="Text" Value="&#xe6fc;"/>
                <Setter Property="Foreground" Value="#C21A26" />
            </DataTrigger>
            <DataTrigger Binding="{Binding MessageBoxType}" Value="Information">
                <Setter Property="Text" Value="&#xe6f8;"/>
                <Setter Property="Foreground" Value="#4C6E1E" />
            </DataTrigger>
        </Style.Triggers>
    </Style>
</ResourceDictionary>
                    
