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: 9.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