Skip to main content

ASPxClientNavBarGroup.SetText(text) Method

Specifies the text displayed within a group.

Declaration

SetText(
    text: string
): void

Parameters

Name Type Description
text string

A string value that is the text displayed within the navbar group.

Remarks

Use the SetText method to specify a navbar group text (the NavBarGroup.Text property value) on the client side. To get the text, use the ASPxClientNavBarGroup.GetText method.

You can get and set navbar item text via the ASPxClientNavBarItem.GetText and ASPxClientNavBarItem.SetText methods respectively.

Note

The SetText method HTML encodes the specified text.

See Also