Class TabInfo
Information about a page within a DNN site.
Inherited Members
Namespace: DotNetNuke.Entities.Tabs
Assembly: DotNetNuke.dll
Syntax
public class TabInfo : ContentItem, IHydratable, IPropertyAccess
Constructors
| Improve this Doc View SourceTabInfo()
Initializes a new instance of the TabInfo class.
Declaration
public TabInfo()
See Also
Properties
| Improve this Doc View SourceAliasSkins
Gets a collection of TabAliasSkinInfo for this page.
Declaration
public List<TabAliasSkinInfo> AliasSkins { get; }
Property Value
Type | Description |
---|---|
List<TabAliasSkinInfo> |
See Also
| Improve this Doc View SourceAllowIndex
Gets a value indicating whether DNN's search index should include this page.
Declaration
public bool AllowIndex { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceBreadCrumbs
Gets or sets the collection of bread crumb pages (i.e. the parent, grandparent, etc. of this page).
Declaration
public ArrayList BreadCrumbs { get; set; }
Property Value
Type | Description |
---|---|
ArrayList | An |
See Also
| Improve this Doc View SourceCacheability
Gets the cache level for property access.
Declaration
public CacheLevel Cacheability { get; }
Property Value
Type | Description |
---|---|
CacheLevel |
See Also
| Improve this Doc View SourceChildModules
Gets the modules on this page.
Declaration
public Dictionary<int, ModuleInfo> ChildModules { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, ModuleInfo> | A |
See Also
| Improve this Doc View SourceContainerPath
Gets or sets the path to the directory with ContainerSrc.
Declaration
public string ContainerPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceContainerSrc
Gets or sets the path to the default container for this page, if there is one.
Declaration
public string ContainerSrc { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceCultureCode
Gets or sets the culture code for this page, if there is one.
Declaration
public string CultureCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceCustomAliases
Gets a collection of custom aliases for this page.
Declaration
public Dictionary<string, string> CustomAliases { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.String> | A |
See Also
| Improve this Doc View SourceDefaultLanguageGuid
Gets or sets the
Declaration
public Guid DefaultLanguageGuid { get; set; }
Property Value
Type | Description |
---|---|
Guid |
See Also
| Improve this Doc View SourceDefaultLanguageTab
Gets info for the default language version of this page, if it exists.
Declaration
public TabInfo DefaultLanguageTab { get; }
Property Value
Type | Description |
---|---|
TabInfo | A TabInfo instance, or |
See Also
| Improve this Doc View SourceDescription
Gets or sets the page description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceDisableLink
Gets or sets a value indicating whether the link to this page should be rendered as disabled.
Declaration
public bool DisableLink { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceDoNotRedirect
Gets a value indicating whether this page is configured not to redirect.
Declaration
public bool DoNotRedirect { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceEndDate
Gets or sets this page's end date.
Declaration
public DateTime EndDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
| Improve this Doc View SourceFullUrl
Gets the full URL for this page.
Declaration
public string FullUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceHasAVisibleVersion
Gets a value indicating whether this page has a version that is visible to the current user.
Declaration
public bool HasAVisibleVersion { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceHasBeenPublished
Gets or sets a value indicating whether this page has been published.
Declaration
public bool HasBeenPublished { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceHasChildren
Gets or sets a value indicating whether this instance has children.
Declaration
public bool HasChildren { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceIconFile
Gets or sets the path to the icon.
Declaration
public string IconFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceIconFileLarge
Gets or sets the path to the large icon.
Declaration
public string IconFileLarge { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceIconFileLargeRaw
Gets the large icon file URL, as it is stored in the database.
Declaration
public string IconFileLargeRaw { get; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceIconFileRaw
Gets the icon file URL, as it is stored in the database.
Declaration
public string IconFileRaw { get; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceIndentedTabName
Gets the indented name of this page (i.e. with "..."
at the beginning based on the page's Level).
Declaration
public string IndentedTabName { get; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceIsDefaultLanguage
Gets a value indicating whether this page is the default language version.
Declaration
public bool IsDefaultLanguage { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceIsDeleted
Gets or sets a value indicating whether this page is deleted.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceIsNeutralCulture
Gets a value indicating whether this page is not for any specific culture/language.
Declaration
public bool IsNeutralCulture { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceIsSecure
Gets or sets a value indicating whether this page requires HTTPS.
Declaration
public bool IsSecure { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceIsSuperTab
Gets or sets a value indicating whether this page is a host level page that doesn't belong to any portal.
Declaration
public bool IsSuperTab { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceIsSystem
Gets or sets a value indicating whether this page is required by DNN.
Declaration
public bool IsSystem { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceIsTranslated
Gets a value indicating whether this page is translated.
Declaration
public bool IsTranslated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceIsVisible
Gets or sets a value indicating whether this page should be visible in the menu.
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceKeyID
Gets or sets the key ID.
Declaration
public override int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The key ID. |
Overrides
Remarks
If you derive class has its own key id, please override this property and set the value to your own key id.
See Also
| Improve this Doc View SourceKeyWords
Gets or sets the meta keywords for the page.
Declaration
public string KeyWords { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceLevel
Gets or sets the level of the page, i.e. how may ancestors (parent, grandparent, etc.) it has.
Declaration
public int Level { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
See Also
| Improve this Doc View SourceLocalizedTabName
Gets the name of the page for the current culture.
Declaration
public string LocalizedTabName { get; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceLocalizedTabs
Gets a collection of pages that are localized children of this page.
Declaration
public Dictionary<string, TabInfo> LocalizedTabs { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, TabInfo> | A |
See Also
| Improve this Doc View SourceLocalizedVersionGuid
Gets or sets the
Declaration
public Guid LocalizedVersionGuid { get; set; }
Property Value
Type | Description |
---|---|
Guid |
See Also
| Improve this Doc View SourceModules
Gets or sets a collection of the modules on this page.
Declaration
public ArrayList Modules { get; set; }
Property Value
Type | Description |
---|---|
ArrayList | An |
See Also
| Improve this Doc View SourcePageHeadText
Gets or sets the page head text, i.e. content to render in the <head>
of the page.
Declaration
public string PageHeadText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourcePanes
Gets a list of the names of the panes available to the page.
Declaration
public ArrayList Panes { get; }
Property Value
Type | Description |
---|---|
ArrayList | An |
See Also
| Improve this Doc View SourceParentId
Gets or sets the ID of this page's parent page (or NullInteger if it has no parent).
Declaration
public int ParentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
See Also
| Improve this Doc View SourcePermanentRedirect
Gets or sets a value indicating whether the redirect configured for this page should be a permanent redirect.
Declaration
public bool PermanentRedirect { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourcePortalID
Gets or sets the ID of the portal/site this page belongs to.
Declaration
public int PortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
See Also
| Improve this Doc View SourceRefreshInterval
Gets or sets the number of seconds after which the page should refresh.
Declaration
public int RefreshInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
If this value is greater than zero, it is set as the content of the <meta http-equiv="refresh">
tag, which instructs the browser to refresh the page.
See Also
| Improve this Doc View SourceSiteMapPriority
Gets or sets the priority of this page in the search engine site map, a value between 0.0 and 1.0, indicating the relative priority of the page compared to other pages on the site.
Declaration
public float SiteMapPriority { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
See Also
| Improve this Doc View SourceSkinDoctype
Gets or sets the doctype statement to be used when rendering this page.
Declaration
public string SkinDoctype { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceSkinPath
Gets or sets the path to the directory with SkinSrc.
Declaration
public string SkinPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceSkinSrc
Gets or sets the path to the skin control for this page.
Declaration
public string SkinSrc { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceStartDate
Gets or sets the page's start date.
Declaration
public DateTime StartDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
| Improve this Doc View SourceTabName
Gets or sets the name of the page.
Declaration
public string TabName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceTabOrder
Gets or sets the relative order of this page in relation to its siblings.
Declaration
public int TabOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
See Also
| Improve this Doc View SourceTabPath
Gets or sets the tab path, an identifier in the format "//PageOne//MyParentPage//ThisPage"
.
Declaration
public string TabPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceTabPermissions
Gets the permissions collection for the page.
Declaration
public TabPermissionCollection TabPermissions { get; }
Property Value
Type | Description |
---|---|
TabPermissionCollection |
See Also
| Improve this Doc View SourceTabPermissionsSpecified
Gets a value indicating whether the tab permissions are specified.
Declaration
public bool TabPermissionsSpecified { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceTabSettings
Gets the settings collection for the page.
Declaration
public Hashtable TabSettings { get; }
Property Value
Type | Description |
---|---|
Hashtable |
See Also
| Improve this Doc View SourceTabType
Gets the TabType for the page.
Declaration
public TabType TabType { get; }
Property Value
Type | Description |
---|---|
TabType |
See Also
| Improve this Doc View SourceTabUrls
Gets a collection of page-specific URLs.
Declaration
public List<TabUrlInfo> TabUrls { get; }
Property Value
Type | Description |
---|---|
List<TabUrlInfo> |
See Also
| Improve this Doc View SourceTitle
Gets or sets the HTML title to be rendered for this page.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceUniqueId
Gets or sets the unique ID identifying this page.
Declaration
public Guid UniqueId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
See Also
| Improve this Doc View SourceUrl
Gets or sets the URL for this page if it is a redirect.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |
See Also
| Improve this Doc View SourceUseBaseFriendlyUrls
Gets or sets a value indicating whether this page uses friendly URLs.
Declaration
public bool UseBaseFriendlyUrls { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
| Improve this Doc View SourceVersionGuid
Gets or sets the
Declaration
public Guid VersionGuid { get; set; }
Property Value
Type | Description |
---|---|
Guid |
See Also
Methods
| Improve this Doc View SourceClone()
Clones this instance.
Declaration
public TabInfo Clone()
Returns
Type | Description |
---|---|
TabInfo | A new TabInfo instance. |
See Also
| Improve this Doc View SourceFill(IDataReader)
Fill this content object will the information from data reader.
Declaration
public override void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr | The data reader. |
Overrides
See Also
GetCurrentUrl(String)
Gets the URL for the given cultureCode
.
Declaration
public string GetCurrentUrl(string cultureCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | cultureCode | The culture code. |
Returns
Type | Description |
---|---|
System.String | The URL or |
See Also
| Improve this Doc View SourceGetProperty(String, String, CultureInfo, UserInfo, Scope, ref Boolean)
Gets a property.
Declaration
public string GetProperty(string propertyName, string format, CultureInfo formatProvider, UserInfo accessingUser, Scope currentScope, ref bool propertyNotFound)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property name to get. |
System.String | format | The format string to format the property with, or |
CultureInfo | formatProvider | The format provider (e.g. |
UserInfo | accessingUser | The user this property belongs to, UserInfo. |
Scope | currentScope | |
System.Boolean | propertyNotFound | An out parameter that indicates if the property was not found. |
Returns
Type | Description |
---|---|
System.String | A string with the value of the property. |
See Also
| Improve this Doc View SourceGetTags()
Gets the tag names as a comma-delimited
Declaration
public string GetTags()
Returns
Type | Description |
---|---|
System.String | A comma-delimited |