Click or drag to resize
TransformationMethodsGetDocumentCssClass Method
Gets page CSS class comparing the current page alias path. Returns selectedCssClass if given alias path matches the current page alias path. Otherwise returns cssClass.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public static Object GetDocumentCssClass(
	EvaluationContext context,
	params Object[] parameters
)

Parameters

context
Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver
parameters
Type: SystemObject
Method parameters

Return Value

Type: Object
See Also