Click or drag to resize
CssHelperEnsureClass Method
Ensures the given class in the CSS class

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string EnsureClass(
	string origClass,
	string newClass
)

Parameters

origClass
Type: SystemString
Original CSS class
newClass
Type: SystemString
CSS class to ensure

Return Value

Type: String
See Also