ICustomTabsConfigAdd Method
|
Adds a new custom tab to the collection
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax ICustomTabSetting Add(
string name,
string displayName,
string url,
string icon,
string iconClass,
string resourceId,
bool isGlobal = false
)
Function Add (
name As String,
displayName As String,
url As String,
icon As String,
iconClass As String,
resourceId As String,
Optional isGlobal As Boolean = false
) As ICustomTabSetting
ICustomTabSetting^ Add(
String^ name,
String^ displayName,
String^ url,
String^ icon,
String^ iconClass,
String^ resourceId,
bool isGlobal = false
)
abstract Add :
name : string *
displayName : string *
url : string *
icon : string *
iconClass : string *
resourceId : string *
?isGlobal : bool
(* Defaults:
let _isGlobal = defaultArg isGlobal false
*)
-> ICustomTabSetting
Parameters
- name
- Type: SystemString
Name of the new tab - displayName
- Type: SystemString
Display name of the new tab. Shows up on the actual tab label - url
- Type: SystemString
URL of the tab, can be either relative or absolute - icon
- Type: SystemString
Icon image path of the tab - iconClass
- Type: SystemString
Icon class of the image tab, specifically the fontawesome icon class name - resourceId
- Type: SystemString
The id of the text resources from the CMS localization system for current locale - isGlobal (Optional)
- Type: SystemBoolean
Specify whether it a global tab (App), or a tab attached to page or asset
Return Value
Type:
ICustomTabSettingNewly created custom tab
See Also