I've noticed that a datagrid cell with a checkbox being edited exhibited a blue background; See screenshot and wonder why it is so...
I noticed this piece of code in DataGridCheckBox's OnApplyTemplate override:
```
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
ChildCheckBox.Background = new System.Windows.Media.SolidColorBrush( System.Windows.Media.Colors.Blue );
}
```
This really seems like test code to me... Would you mind removing it?
Comments: ** Comment from web user: BoucherS **
I noticed this piece of code in DataGridCheckBox's OnApplyTemplate override:
```
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
ChildCheckBox.Background = new System.Windows.Media.SolidColorBrush( System.Windows.Media.Colors.Blue );
}
```
This really seems like test code to me... Would you mind removing it?
Comments: ** Comment from web user: BoucherS **
Hello,
As said earlier, this has been fixed in v2.1, but broken in v2.4. It will now be fixed in v3.2.
Thanks.