Tab
A newer version of this page is available. Switch to the current version.

ListEditItem.Text Property

Gets or sets the list item's text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue("")]
public override string Text { get; set; }

Property Value

Type Default Description
String

String.Empty

A String value representing the list item's text.

Remarks

Use the Text property to specify the textual representation of the current list item.

NOTE

This property is not in effect for an editor's multi-column mode.

Examples

The complete sample project is available in the DevExpress Code Central database at E55.

<dxe:ASPxComboBox ID="cbCombo" runat="server" Width="170px" ClientInstanceName="combo">
    <ClientSideEvents SelectedIndexChanged="OnComboBoxSelectedIndexChanged" />
    <Items>
        <dxe:ListEditItem Text="Item #1" Value="0" />
        <dxe:ListEditItem Text="Item #2" Value="1" />
        <dxe:ListEditItem Text="Item #3" Value="2" />
    </Items>
</dxe:ASPxComboBox>
See Also