Class TabChangeSettings
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Tabs
Assembly: DotNetNuke.dll
Syntax
public class TabChangeSettings : ServiceLocator<ITabChangeSettings, TabChangeSettings>, ITabChangeSettings
Methods
| Improve this Doc View SourceGetChangeControlState(Int32, Int32)
Get the full state of the tab changes control in a specific tab and its master portal.
Declaration
public ChangeControlState GetChangeControlState(int portalId, int tabId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | Portal Id. |
System.Int32 | tabId | Tab Id. |
Returns
Type | Description |
---|---|
ChangeControlState | The page's ChangeControlState. |
GetFactory()
Gets the service locator factory.
Declaration
protected override Func<ITabChangeSettings> GetFactory()
Returns
Type | Description |
---|---|
Func<ITabChangeSettings> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Entities.Tabs.ITabChangeSettings, DotNetNuke.Entities.Tabs.TabChangeSettings>.GetFactory()
|
Improve this Doc
View Source
IsChangeControlEnabled(Int32, Int32)
Get the status of the tab changes control in a specific tab and its master portal.
Declaration
public bool IsChangeControlEnabled(int portalId, int tabId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | Portal Id. |
System.Int32 | tabId | Tab Id. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if changes control is available for both Portal and Tab, false otherwise. |