当前位置:首页 > 开发教程 > IT博文 > .NET技术 > WPF >

wpf的毛边窗体效果 前台代码

时间:2014-04-22 08:37 来源:互联网 作者:源码搜藏 收藏

Window x:Class=wpfwindowsmove.毛边窗体 xmlns= http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x= http://schemas.microsoft.com/winfx/2006/xaml Title=毛边窗体 Height=300 Width=300 AllowsTransparency=True WindowStyle=None Back <Window x:Class="wpfwindowsmove.毛边窗体"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="毛边窗体" Height="300" Width="300"
        AllowsTransparency="True" WindowStyle="None" Background="Transparent"
        >
    <Grid>
        <Border BorderThickness="1" CornerRadius="50">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Green" Offset="0"></GradientStop>
                    <GradientStop Color="Blue" Offset="1"></GradientStop>
                    <GradientStop Color="Yellow"></GradientStop>
                </LinearGradientBrush>
            </Border.Background>
            <Border.BitmapEffect>
                <BlurBitmapEffect></BlurBitmapEffect>
            </Border.BitmapEffect>
            
        </Border>
    </Grid>
</Window>
上一篇:没有了

WPF阅读排行

最新文章