Click or drag to resize

EAPCtrlUtilsMergeCssClass Method (HtmlControl, String)

Add the specified CSS class name(s) to the control's CssClass list.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static bool MergeCssClass(
	HtmlControl ctrl,
	string classes
)

Parameters

ctrl
Type: System.Web.UI.HtmlControlsHtmlControl
The control into which to merge the CSS class.
classes
Type: SystemString
The CSS class(es) to add, if not already in the control's CssClass list.

Return Value

Type: Boolean
True if one or more class was added to the CssClass, else false.
See Also