Skip to main content
Tab

ASPxComboBox.ShowImageInEditBox Property

Gets or sets whether the image should be displayed within an editor’s edit box.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool ShowImageInEditBox { get; set; }

Property Value

Type Default Description
Boolean false

true if the image is allowed to be displayed within an edit box; otherwise, false.

Remarks

This property is a wrapper of the ComboBoxProperties.ShowImageInEditBox property.

Example

This part of the Image in Edit Box demo illustrates how to use the ASPxComboBox.ShowImageInEditBox property within the ASPxComboBox.

...
<dxe:ASPxComboBox id="ASPxComboBox1" runat="server" DataSourceID="XmlDataSource1"
    ImageUrlField="ImageUrl" TextField="ItemText" ValueField="Name" ValueType="System.String"
    ShowImageInTextBox="True" SelectedIndex="0">
</dxe:ASPxComboBox>
...
See Also