ComponentOne ASP.NET MVC Controls
DropDownCssClass Method (DropDownBuilder<TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > DropDownBuilder<TControl,TBuilder> Class : DropDownCssClass Method
The value.
Configurates C1.Web.Mvc.DropDown.DropDownCssClass. Sets a CSS class name to add to the control's drop-down element.
Syntax
'Declaration
 
Public Function DropDownCssClass( _
   ByVal value As String _
) As TBuilder
public TBuilder DropDownCssClass( 
   string value
)

Parameters

value
The value.

Return Value

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.
See Also

Reference

DropDownBuilder<TControl,TBuilder> Class
DropDownBuilder<TControl,TBuilder> Members