/// <summary>
 /// 设置字体颜色
 /// </summary>
 /// <param name="value"></param>
 public void SetD7(string value)
 {
     if (string.IsNullOrEmpty(value.Trim()))
     {
         return;
     }
     this.Foreground = new SolidColorBrush(CommonConverter.ConvertStringToColor(value));
 }
 /// <summary>
 /// 设置背景颜色
 /// </summary>
 /// <param name="value"></param>
 public void SetD8(string value)
 {
     this.Background = new SolidColorBrush(CommonConverter.ConvertStringToColor(value));
 }