TagBuilder.AddCssClass Method
Adds the specified CSS class to the tag-builder attributes.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub AddCssClass ( _
value As String _
)
public void AddCssClass(
string value
)
public:
void AddCssClass(
String^ value
)
Parameters
- value
Type: System.String
The CSS class value string.