[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.DropDownBuilder-3.DropDownCssClass

DropDownCssClass Method

DropDownCssClass(string)

Configurates DropDownCssClass. Sets a CSS class name to add to the control's drop-down element.

Declaration
public TBuilder DropDownCssClass(string value)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
TBuilder

Current builder.

Remarks

This property is useful when styling the drop-down element, because it is shown as a child of the document body rather than as a child of the control itself, which prevents using CSS selectors based on the parent control.