CMSAbstractTransformationGetDocumentCssClass Method |
Gets document CSS class comparing the current document node alias path.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax public string GetDocumentCssClass(
string cssClass,
string selectedCssClass
)
Parameters
- cssClass
- Type: SystemString
CSS class - selectedCssClass
- Type: SystemString
Selected CSS class
Return Value
Type:
StringReturns selectedCssClass if given node alias path matches the current document node alias path. Otherwise returns cssClass.
See Also