Click or drag to resize
UIElementInfoProviderGetElementCaption Method
Gets the element caption. If caption is not set the display name is used.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 10.0.0
Syntax
C#
public static string GetElementCaption(
	UIElementInfo uiElement,
	bool localize = true
)

Parameters

uiElement
Type: CMS.ModulesUIElementInfo
UI element instance
localize (Optional)
Type: SystemBoolean
Indicates whether output string shout be localized

Return Value

Type: String
See Also