using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace ZJWMSUI.Controls
{
public class DazzleButton : Button
{
public static readonly DependencyProperty MyMoverBrushProperty;
public static readonly DependencyProperty MyEnterBrushProperty;
public Brush MyMoverBrush
{
get
{
return base.GetValue(DazzleButton.MyMoverBrushProperty) as Brush;
}
set
{
base.SetValue(DazzleButton.MyMoverBrushProperty, value);
}
}
public Brush MyEnterBrush
{
get
{
return base.GetValue(DazzleButton.MyEnterBrushProperty) as Brush;
}
set
{
base.SetValue(DazzleButton.MyEnterBrushProperty, value);
}
}
static DazzleButton()
{
DazzleButton.MyMove
WPF自定义控件
最新推荐文章于 2022-09-21 20:28:45 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)