Skip to main content

DxTagBox<TData, TValue>.DropDownCssClass Property

Specifies the name of the CSS class applied to the TagBox’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 TagBox’s drop-down, assign a CSS class name to the DropDownCssClass property.

<style>
    .my-style {
        background-color: lightgoldenrodyellow;
    }
</style>

<DxTagBox Data="@Data"
          DropDownCssClass="my-style"
          TextFieldName="@nameof(Employee.Text)"
          @bind-Values="@Values"/>

CSS Class for DropDown in TagBox

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

See Also