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
)
Public Shared Function MergeCssClass (
ctrl As HtmlControl,
classes As String
) As Boolean
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:
BooleanTrue if one or more class was added to the CssClass, else false.
See Also