星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526
  1. namespace XHWK.WKTool.View
  2. {
  3. using System.Windows;
  4. using System.Windows.Controls;
  5. public class ZRoundButton : Button
  6. {
  7. #region 属性
  8. public int BorderRadius
  9. {
  10. get { return (int)GetValue(BorderRadiusProperty); }
  11. set { SetValue(BorderRadiusProperty, value); }
  12. }
  13. public static readonly DependencyProperty BorderRadiusProperty = DependencyProperty.Register
  14. (
  15. "BorderRadius",
  16. typeof(int),
  17. typeof(ZRoundButton),
  18. new FrameworkPropertyMetadata()
  19. );
  20. #endregion 属性
  21. }
  22. }