<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的毛边窗体效果 前台代码

相关文章:

  • 2022-12-23
  • 2021-07-26
  • 2021-05-22
  • 2021-06-24
  • 2021-10-28
  • 2021-07-11
  • 2021-10-31
  • 2021-05-17
猜你喜欢
  • 2022-12-23
  • 2022-03-03
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
相关资源
相似解决方案