Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: MessageBox ImageSource

$
0
0
<Style TargetType="{x:Type toolkit:MessageBox}"> 
        <Setter Property="CancelButtonContent" Value="取消" />
        <Setter Property="NoButtonContent" Value="否" />
        <Setter Property="OkButtonContent" Value="确定" />
        <Setter Property="YesButtonContent" Value="是" />
        <Setter Property="SnapsToDevicePixels" Value="True" />
        <Setter Property="Caption" Value="提示信息" />
        <Setter Property="Background" Value="#FFF0F0F0" />
        <Setter Property="ButtonRegionBackground" Value="#FFF0F0F0" />
        <Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect BlurRadius="20"
                                  Direction="0"
                                  ShadowDepth="1"
                                  Color="#D8000000" />
            </Setter.Value>
        </Setter>
        <Setter Property="WindowInactiveBackground">
            <Setter.Value>
                <SolidColorBrush Opacity="0.85" Color="Black" />
            </Setter.Value>
        </Setter>
        <Setter Property="Margin" Value="20" />
    </Style>


I Want Definition Style In the resource dictionary file like this .
How should I do ?

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>