Back to Devexpress

BootstrapClientCheckBox.SetText(text) Method

aspnetbootstrap-js-bootstrapclientcheckbox-dot-settext-x28-text-x29.md

latest1.2 KB
Original Source

BootstrapClientCheckBox.SetText(text) Method

Sets the text to be displayed within the editor.

Declaration

ts
SetText(
    text: string
): void

Parameters

NameTypeDescription
textstring

A string value specifying the text to be displayed within the editor.

|

Remarks

The BootstrapClientCheckBox.GetText method is useful to obtain the text from the editor. Use the ASPxCheckBox.Text property to specify the editor’s text on the server.

Note

If the ASPxCheckBox.Text property is empty, a text element markup is not rendered. In this case, it is impossible to set a text on the client side using the SetText method.

See Also

GetText

Text

Check Box

BootstrapClientCheckBox Class

BootstrapClientCheckBox Members