UIElementInfoProviderGetElementCaption Method |
Gets the element caption. If caption is not set the display name is used.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 8.2.23
Syntax 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:
StringSee Also