private static Button ValueNotSetButton(CardProperty cardProperty, FrameworkElement control)
{
var b = new Button
{
Content = "X",
ToolTip = "Click to leave the value not set",
Tag = cardProperty,
Width = 30,
FontWeight = FontWeights.Normal,
Background = Brushes.Gainsboro,
Style = Application.Current.Resources["PlainButtonStyle"] as Style
};
b.Tag = control.Tag;
return b;
}