DxDropDownListEditorBase<TData, TValue>.DropDownCssClass Property
Specifies the name of the CSS class applied to the editor’s drop-down.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public string DropDownCssClass { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | null | The CSS class name. |
Remarks
To define the appearance of the editor’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.
Implements
DevExpress.Blazor.IDropDownListEditorBase<TData, TValue>.DropDownCssClass
See Also