HtmlAttributeItemSetStyle Method

Set the value of the specified style in the provided attribute.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static void SetStyle(
	HtmlAttributeItem attribute,
	string styleName,
	string value
)

Parameters

attribute  HtmlAttributeItem
Reference to the style attribute to inspect.
styleName  String
Name of the style to select.
value  String
Value of the style.

See Also