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

Class IconController

IconController provides all operation to icons.

Inheritance
System.Object
IconController
Namespace: DotNetNuke.Entities.Icons
Assembly: DotNetNuke.dll
Syntax
public class IconController : object
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

Fields

| Improve this Doc View Source

DefaultIconSize

IconController provides all operation to icons.

Declaration
public const string DefaultIconSize = null
Field Value
Type Description
System.String
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

DefaultIconStyle

IconController provides all operation to icons.

Declaration
public const string DefaultIconStyle = null
Field Value
Type Description
System.String
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

DefaultLargeIconSize

IconController provides all operation to icons.

Declaration
public const string DefaultLargeIconSize = null
Field Value
Type Description
System.String
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

IconKeyName

IconController provides all operation to icons.

Declaration
public const string IconKeyName = null
Field Value
Type Description
System.String
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

IconSizeName

IconController provides all operation to icons.

Declaration
public const string IconSizeName = null
Field Value
Type Description
System.String
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

IconStyleName

IconController provides all operation to icons.

Declaration
public const string IconStyleName = null
Field Value
Type Description
System.String
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

Methods

| Improve this Doc View Source

GetFileIconUrl(String)

IconController provides all operation to icons.

Declaration
public static string GetFileIconUrl(string extension)
Parameters
Type Name Description
System.String extension
Returns
Type Description
System.String
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

GetIconSets()

IconController provides all operation to icons.

Declaration
public static string[] GetIconSets()
Returns
Type Description
System.String[]
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

GetIconSets(IApplicationStatusInfo)

IconController provides all operation to icons.

Declaration
public static string[] GetIconSets(IApplicationStatusInfo appStatus)
Parameters
Type Name Description
IApplicationStatusInfo appStatus
Returns
Type Description
System.String[]
Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

IconURL(String, String, String)

Gets the Icon URL.

Declaration
public static string IconURL(string key, string size, string style)
Parameters
Type Name Description
System.String key

Key to icon, e.g. edit.

System.String size

Size of icon, e.g.16x16 (default) or 32x32.

System.String style

Style of icon, e.g. Standard (default).

Returns
Type Description
System.String

Link to the image, e.g. /Icons/Sigma/edit_16x16_standard.png.

Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

IconURL(String, String)

Gets the Icon URL.

Declaration
public static string IconURL(string key, string size)
Parameters
Type Name Description
System.String key

Key to icon, e.g. edit.

System.String size

Size of icon, e.g.16x16 (default) or 32x32.

Returns
Type Description
System.String

Link to the image, e.g. /Icons/Sigma/edit_16x16_standard.png.

Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

| Improve this Doc View Source

IconURL(String)

Gets the Icon URL.

Declaration
public static string IconURL(string key)
Parameters
Type Name Description
System.String key

Key to icon, e.g. edit.

Returns
Type Description
System.String

Link to the image, e.g. /Icons/Sigma/edit_16x16_standard.png.

Remarks

Tab is equal to page in DotNetNuke. Tabs will be a sitemap for a poatal, and every request at first need to check whether there is valid tab information include in the url, if not it will use default tab to display information.

Extension Methods

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