Tab

TitleIndexItem.Text Property

Gets or sets the item's label text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue("Item")]
public string Text { get; set; }
<DefaultValue("Item")>
Public Property Text As String

Property Value

Type Default Description
String

"Item"

A string value that specifies the item's text content.

Remarks

Use the Text property to specify a label text for the data item. The position of the text within items is specified by the AppearanceStyleBase.HorizontalAlign and AppearanceStyleBase.VerticalAlign properties available via the ASPxTitleIndex.ItemStyle property of a ASPxTitleIndex control.

In addition to the text, you can specify an item's navigation location and hint text using the TitleIndexItem.NavigateUrl and TitleIndexItem.Description properties respectively. A common image for all data items within a ASPxTitleIndex control can be defined via the control's ASPxTitleIndex.ItemImage property.

See Also