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

ASPxClientLayoutItem.SetCaption(caption) Method

Specifies the text displayed in the layout item caption.

Declaration

SetCaption(
    caption: string
): void

Parameters

Name Type Description
caption string

A string value specifying the item caption.

Remarks

Use the SetCaption method to specify the text displayed in the layout item caption. To obtain the caption text on the client side, use the ASPxClientLayoutItem.GetCaption method . On the server side, the caption text can be accessed using the LayoutItem.Caption property.

Online Demo

Client-Side Functionality

See Also