DxComboBox<TData, TValue>.InputCssClass Property

Specifies CSS classes applied to the ComboBox‘s input.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.2.dll


public string InputCssClass { get; set; }

Property Value

Type Description

The input’s CSS class names separated by a space.


Use the InputCssClass property to apply pre-defined (for example, Bootstrap utilities) or custom CSS classes to the ComboBox’s input.

The following example applies the .bg-secondary contextual class to the input’s background color and hides the input’s border:

<DxComboBox Data="@Cities" @bind-Value="@Value" InputCssClass="bg-secondary border-0"></DxComboBox>

@code {
    IEnumerable<string> Cities = new List<string>() {

    string Value { get; set; }

ComboBox - Input CSS Class

For more information about how to apply custom CSS classes to DevExpress Blazor components, refer to the following help topic: CSS Classes.

See Also