Adds a button to the component.
public void AddButton(string name, string caption, ButtonPositionType position, bool enabled, bool isDefault)
The name of the button.
The caption of the button.
The position of the button.
A flag to enable or disable the button.
A flag to put the button as the default button.