I got the problem, it was the Skin Manager who was causing the problem, deleting the line fixed it.
I used this to make my window metro styled but it seems that it has problems with other controls.
Please fix this bug.
sfskin:SfSkinManager.VisualStyle="Metro"