Click or drag to resize

EAPCtrlUtilsRemoveStyle Method

Remove the specified CSS style using both the enum and string identifiers. This methods removes BOTH from the style because it seems that if you add a style by name and remove it by enum the .Net does NOT remove the style!

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static void RemoveStyle(
	WebControl ctrl,
	HtmlTextWriterStyle style,
	string styleName
)

Parameters

ctrl
Type: System.Web.UI.WebControlsWebControl
The control to modify.
style
Type: System.Web.UIHtmlTextWriterStyle
The enumeration of the style to remove.
styleName
Type: SystemString
The corresponding style name.
See Also