• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class TabChangeSettings

Inheritance
System.Object
ServiceLocator<ITabChangeSettings, TabChangeSettings>
TabChangeSettings
Implements
ITabChangeSettings
Inherited Members
ServiceLocator<ITabChangeSettings, TabChangeSettings>.Instance
ServiceLocator<ITabChangeSettings, TabChangeSettings>.Factory
ServiceLocator<ITabChangeSettings, TabChangeSettings>.SetTestableInstance(ITabChangeSettings)
ServiceLocator<ITabChangeSettings, TabChangeSettings>.ClearInstance()
ServiceLocator<ITabChangeSettings, TabChangeSettings>.GetFactory()
Namespace: DotNetNuke.Entities.Tabs
Assembly: DotNetNuke.dll
Syntax
public class TabChangeSettings : ServiceLocator<ITabChangeSettings, TabChangeSettings>, ITabChangeSettings

Methods

| Improve this Doc View Source

GetChangeControlState(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.

| Improve this Doc View Source

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.

Implements

ITabChangeSettings

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS