SelectEditorAttribute.CssClassField property
The field of an item that holds its CSS class, e.g. "text-danger", which the editor adds to the item in its results. The items of a SelectItemAttribute set it themselves when they have one.
public string? CssClassField { get; set; }
See Also
- class SelectEditorAttribute