ListEditItem.Text Property
Gets or sets the list item’s text.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v22.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | 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.
Example
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