TcxCustomEditButton.Caption Property
Specifies the custom text displayed on a button’s surface.
Declaration
property Caption: TCaption read; write;
Property Value
Type |
---|
TCaption |
Remarks
Use the Caption property to specify the text displayed on a button’s surface. To display the text you must set the Kind property to bkText. If the button’s width is insufficient to display the entire text, then text clipping occurs. The clipped portion of the text is replaced with an ellipsis.
Use the ContentAlignment property to align the text within the button.
See Also