AddButton(string, string, ButtonPositionType, bool, bool)

Adds a button to the component.

Declaration Syntax

public void AddButton(string name, string caption, ButtonPositionType position, bool enabled, bool isDefault)

Parameters

name(string)

The name of the button.

caption(string)

The caption of the button.

position(ButtonPositionType)

The position of the button.

enabled(bool)

A flag to enable or disable the button.

isDefault(bool)

A flag to put the button as the default button.