Class IconController
IconController provides all operation to icons.
Inheritance
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 SourceDefaultIconSize
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.
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.
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.
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.
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.
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 SourceGetFileIconUrl(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.
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.
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.
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.
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.
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.