自定义元素

三步骤: 1、定义属性(事件)  public static DependencyProperty ColorProperty;   public static RoutedEvent ColorChangedEvent; 2、注册属性(事件)    ColorProperty = DependencyProperty.Register("Color",typeof(Color),typeof(U
相关文章
相关标签/搜索