分类
日记

去掉visifire的水印

在app.xaml中添加下面代码:

<Application.Resources>
        <Style TargetType="TextBlock">
            <Setter Property="Visibility" Value="Visible" />
            <Style.Triggers>
                <Trigger Property="Text" Value="Visifire Trial Edition">
                    <Trigger.Setters>
                        <Setter Property="Visibility"  Value="Collapsed"></Setter>
                    </Trigger.Setters>
                </Trigger>
            </Style.Triggers>
        </Style>
    </Application.Resources>