Class Skin
Skin is the base for the Skins.
Namespace: DotNetNuke.UI.Skins
Assembly: DotNetNuke.dll
Syntax
public class Skin : UserControlBase
Constructors
| Improve this Doc View SourceSkin()
Initializes a new instance of the Skin class.
Declaration
public Skin()
Fields
| Improve this Doc View SourceCONTAINERLOAD_ERROR
Skin is the base for the Skins.
Declaration
public static string CONTAINERLOAD_ERROR
Field Value
Type | Description |
---|---|
System.String |
MODULEADD_ERROR
Skin is the base for the Skins.
Declaration
public static string MODULEADD_ERROR
Field Value
Type | Description |
---|---|
System.String |
MODULELOAD_ERROR
Skin is the base for the Skins.
Declaration
public static string MODULELOAD_ERROR
Field Value
Type | Description |
---|---|
System.String |
OnInitMessage
Skin is the base for the Skins.
Declaration
public const string OnInitMessage = null
Field Value
Type | Description |
---|---|
System.String |
OnInitMessageType
Skin is the base for the Skins.
Declaration
public const string OnInitMessageType = null
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceActionEventListeners
Gets or sets an ArrayList of ActionEventListeners.
Declaration
public ArrayList ActionEventListeners { get; set; }
Property Value
Type | Description |
---|---|
ArrayList |
ModuleControlPipeline
Skin is the base for the Skins.
Declaration
protected IModuleControlPipeline ModuleControlPipeline { get; }
Property Value
Type | Description |
---|---|
IModuleControlPipeline |
NavigationManager
Skin is the base for the Skins.
Declaration
protected INavigationManager NavigationManager { get; }
Property Value
Type | Description |
---|---|
INavigationManager |
Panes
Gets a Dictionary of Panes.
Declaration
public Dictionary<string, Pane> Panes { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, Pane> |
SkinPath
Gets the Path for this skin.
Declaration
public string SkinPath { get; }
Property Value
Type | Description |
---|---|
System.String |
SkinSrc
Gets or sets the Source for this skin.
Declaration
public string SkinSrc { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddModuleMessage(Control, String, ModuleMessage.ModuleMessageType)
AddModuleMessage adds a Module Message control to the Skin.
Declaration
public static void AddModuleMessage(Control control, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type | Name | Description |
---|---|---|
Control | control | The current control. |
System.String | message | The Message Text. |
ModuleMessage.ModuleMessageType | moduleMessageType | The type of the message. |
AddModuleMessage(Control, String, String, ModuleMessage.ModuleMessageType)
AddModuleMessage adds a Module Message control to the Skin.
Declaration
public static void AddModuleMessage(Control control, string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type | Name | Description |
---|---|---|
Control | control | The current control. |
System.String | heading | The Message Heading. |
System.String | message | The Message Text. |
ModuleMessage.ModuleMessageType | moduleMessageType | The type of the message. |
AddModuleMessage(PortalModuleBase, String, ModuleMessage.ModuleMessageType)
Skin is the base for the Skins.
Declaration
public static void AddModuleMessage(PortalModuleBase control, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type | Name | Description |
---|---|---|
PortalModuleBase | control | |
System.String | message | |
ModuleMessage.ModuleMessageType | moduleMessageType |
AddModuleMessage(PortalModuleBase, String, String, ModuleMessage.ModuleMessageType)
Skin is the base for the Skins.
Declaration
public static void AddModuleMessage(PortalModuleBase control, string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type | Name | Description |
---|---|---|
PortalModuleBase | control | |
System.String | heading | |
System.String | message | |
ModuleMessage.ModuleMessageType | moduleMessageType |
AddPageMessage(Skin, String, String, ModuleMessage.ModuleMessageType)
AddPageMessage adds a Page Message control to the Skin.
Declaration
public static void AddPageMessage(Skin skin, string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type | Name | Description |
---|---|---|
Skin | skin | The skin. |
System.String | heading | The Message Heading. |
System.String | message | The Message Text. |
ModuleMessage.ModuleMessageType | moduleMessageType | The type of the message. |
AddPageMessage(Skin, String, String, String)
AddPageMessage adds a Page Message control to the Skin.
Declaration
public static void AddPageMessage(Skin skin, string heading, string message, string iconSrc)
Parameters
Type | Name | Description |
---|---|---|
Skin | skin | The skin. |
System.String | heading | The Message Heading. |
System.String | message | The Message Text. |
System.String | iconSrc | The Icon to display. |
AddPageMessage(Page, String, String, ModuleMessage.ModuleMessageType)
AddPageMessage adds a Page Message control to the Skin.
Declaration
public static void AddPageMessage(Page page, string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type | Name | Description |
---|---|---|
Page | page | The Page. |
System.String | heading | The Message Heading. |
System.String | message | The Message Text. |
ModuleMessage.ModuleMessageType | moduleMessageType | The type of the message. |
AddPageMessage(Page, String, String, String)
AddPageMessage adds a Page Message control to the Skin.
Declaration
public static void AddPageMessage(Page page, string heading, string message, string iconSrc)
Parameters
Type | Name | Description |
---|---|---|
Page | page | The Page. |
System.String | heading | The Message Heading. |
System.String | message | The Message Text. |
System.String | iconSrc | The Icon to display. |
GetInstalledSkins()
Skin is the base for the Skins.
Declaration
public static List<InstalledSkinInfo> GetInstalledSkins()
Returns
Type | Description |
---|---|
List<InstalledSkinInfo> |
GetModuleMessageControl(String, String, ModuleMessage.ModuleMessageType, String)
GetModuleMessageControl gets an existing Message Control and sets its properties.
Declaration
public static ModuleMessage GetModuleMessageControl(string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType, string iconImage)
Parameters
Type | Name | Description |
---|---|---|
System.String | heading | The Message Heading. |
System.String | message | The Message Text. |
ModuleMessage.ModuleMessageType | moduleMessageType | The type of message. |
System.String | iconImage | The Message Icon. |
Returns
Type | Description |
---|---|
ModuleMessage | The ModuleMessage control. |
GetModuleMessageControl(String, String, ModuleMessage.ModuleMessageType)
GetModuleMessageControl gets an existing Message Control and sets its properties.
Declaration
public static ModuleMessage GetModuleMessageControl(string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type | Name | Description |
---|---|---|
System.String | heading | The Message Heading. |
System.String | message | The Message Text. |
ModuleMessage.ModuleMessageType | moduleMessageType | The type of message. |
Returns
Type | Description |
---|---|
ModuleMessage | The ModuleMessage control. |
GetModuleMessageControl(String, String, String)
GetModuleMessageControl gets an existing Message Control and sets its properties.
Declaration
public static ModuleMessage GetModuleMessageControl(string heading, string message, string iconImage)
Parameters
Type | Name | Description |
---|---|---|
System.String | heading | The Message Heading. |
System.String | message | The Message Text. |
System.String | iconImage | The Message Icon. |
Returns
Type | Description |
---|---|
ModuleMessage | The ModuleMessage control. |
GetParentSkin(Control)
GetParentSkin gets the Parent Skin for a control.
Declaration
public static Skin GetParentSkin(Control control)
Parameters
Type | Name | Description |
---|---|---|
Control | control | The control whose Parent Skin is requested. |
Returns
Type | Description |
---|---|
Skin | A Skin instance or null. |
GetParentSkin(PortalModuleBase)
GetParentSkin gets the Parent Skin for a control.
Declaration
public static Skin GetParentSkin(PortalModuleBase module)
Parameters
Type | Name | Description |
---|---|---|
PortalModuleBase | module | The control whose Parent Skin is requested. |
Returns
Type | Description |
---|---|
Skin | A Skin instance or null. |
GetPopUpSkin(PageBase)
GetPopUpSkin gets the Skin that is used in modal popup.
Declaration
public static Skin GetPopUpSkin(PageBase page)
Parameters
Type | Name | Description |
---|---|---|
PageBase | page | The Page. |
Returns
Type | Description |
---|---|
Skin | A Skin instance. |
GetSkin(PageBase)
GetSkin gets the Skin.
Declaration
public static Skin GetSkin(PageBase page)
Parameters
Type | Name | Description |
---|---|---|
PageBase | page | The Page. |
Returns
Type | Description |
---|---|
Skin | A Skin instance. |
InjectModule(Pane, ModuleInfo)
InjectModule injects the module into the Pane.
Declaration
public bool InjectModule(Pane pane, ModuleInfo module)
Parameters
Type | Name | Description |
---|---|---|
Pane | pane | The pane. |
ModuleInfo | module | The module to inject. |
Returns
Type | Description |
---|---|
System.Boolean | true if the module is successfully injected, otherwise false. |
OnInit(EventArgs)
Skin is the base for the Skins.
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnLoad(EventArgs)
Skin is the base for the Skins.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnPreRender(EventArgs)
Skin is the base for the Skins.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnUnload(EventArgs)
Skin is the base for the Skins.
Declaration
protected override void OnUnload(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
RegisterModuleActionEvent(Int32, ActionEventHandler)
RegisterModuleActionEvent registers a Module Action Event.
Declaration
public void RegisterModuleActionEvent(int moduleId, ActionEventHandler e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | moduleId | The ID of the module. |
ActionEventHandler | e | An Action Event Handler. |