aspnet-devexpress-dot-web-dot-titleindexitem-04dd989a.md
Gets or sets the item’s label text.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("Item")]
public string Text { get; set; }
<DefaultValue("Item")>
Public Property Text As String
| Type | Default | Description |
|---|---|---|
| String | "Item" |
A string value that specifies the item’s text content.
|
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