Click or drag to resize

EAPCtrlUtilsMergeCssClass Method (Control, String)

Add the specified CSS class name(s) to the control's CssClass list. Note that the control can be a WebControl or an HtmlControl.

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

Parameters

ctrl
Type: System.Web.UIControl
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