When MinSize of CommandBarTextBoxElement is set to value greater than 299 the VSB throws an exception.
In the VSB set the CommandBarTextBoxElement MinSize property to a value greater than 299 and when you close the Elements property grid you will get an unhadled exception.