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: 13.0.131
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