TagBuilder.AddCssClass(String) Method

Definition

Adds a CSS class to the list of CSS classes in the tag. If there are already CSS classes on the tag then a space character and the new class will be appended to the existing list.

public:
 void AddCssClass(System::String ^ value);
public void AddCssClass (string value);
member this.AddCssClass : string -> unit
Public Sub AddCssClass (value As String)

Parameters

value
String

The CSS class name to add.

Applies to