WPF 颜色

渐变色

<Border CornerRadius="8" BorderThickness="2" BorderBrush="#BF66FF">
    <Border.Background>
        <LinearGradientBrush StartPoint="1,1" EndPoint="0,0">
            <LinearGradientBrush.GradientStops>
                <GradientStop Offset="0.0" Color="#9E01AB"/>
                <GradientStop Offset="0.5" Color="#4A0197"/>
            </LinearGradientBrush.GradientStops>
        </LinearGradientBrush>
    </Border.Background>
</Border>

  

WPF 颜色

上一篇:Centos运行Mysql报告:MySQL server PID file could not be found!


下一篇:windows10初始化电脑