Skip to main content
A newer version of this page is available. .

TcxCustomEditButton.Default Property

Specifies whether a button is the default one.

Declaration

property Default: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Use Default to assign a button the default status. Only one button in the TcxEditButtons collection can have the Default property set to True. If you set the Default property to True for one button, the Default attribute of other buttons in the collection is automatically set to False.

For the default button, the TcxCustomEditProperties.OnButtonClick event is generated both by clicking it and by pressing the key combination assigned to the TcxCustomEditProperties.ClickKey property.

The default value of the Default property is False.

See Also