Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomEditButton.Caption Property

Specifies the editor button caption.

#Declaration

Delphi
property Caption: TCaption read; write;

#Property Value

Type Description
TCaption

The editor button caption.

#Remarks

Use the Caption property to assign a caption to the editor button. The button displays the Caption property value only if the Kind property is set to bkText.

VCL Editors Library: An Editor Button Displays Caption Text

If the button width is not enough to fit the caption in full, the button crops text and displays an ellipsis at the end of the caption.

VCL Editors Library: An Editor Button Crops Caption Text

If the button width exceeds the current caption text length, you can use the ContentAlignment property to position text within the button.

VCL Editors Library: Left-Aligned Caption Text

#Default Value

The Caption property’s default value is an empty string.

See Also