Skip to main content

DxComboBox<TData, TValue>.DropDownCssClass Property

Specifies the name of the CSS class applied to the ComboBox’s drop-down.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string DropDownCssClass { get; set; }

Property Value

Type Description
String

The CSS class name.

Remarks

To define the appearance of the ComboBox’s drop-down, assign a CSS class name to the DropDownCssClass property.

<style>
    .my-style {
        <!-- your CSS rules -->
    }
</style>

<DxComboBox Data="@Cities" 
            @bind-Value="@Value" 
            DropDownCssClass="my-style" />

@code {
    IEnumerable<string> Cities = new List<string>() {
      "London",
      "Berlin",
      "Paris",
    };
    string Value { get; set; }
}

For more information, see the following help topic: CSS Classes.

See Also