Show / Hide Table of Contents

Class Skin

Inheritance
object
Control
TemplateControl
UserControl
UserControlBase
Skin
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IFilterResolutionService
IAttributeAccessor
INamingContainer
IUserControlDesignerAccessor
Inherited Members
UserControlBase.IsHostMenu
UserControlBase.PortalSettings
UserControl.LoadViewState(object)
UserControl.SaveViewState()
UserControl.MapPath(string)
UserControl.UpdateModel<TModel>(TModel)
UserControl.UpdateModel<TModel>(TModel, IValueProvider)
UserControl.TryUpdateModel<TModel>(TModel)
UserControl.TryUpdateModel<TModel>(TModel, IValueProvider)
UserControl.Attributes
UserControl.Application
UserControl.Trace
UserControl.Request
UserControl.Response
UserControl.Server
UserControl.Cache
UserControl.CachePolicy
UserControl.IsPostBack
UserControl.Session
TemplateControl.Construct()
TemplateControl.OnCommitTransaction(EventArgs)
TemplateControl.OnAbortTransaction(EventArgs)
TemplateControl.OnError(EventArgs)
TemplateControl.CreateResourceBasedLiteralControl(int, int, bool)
TemplateControl.TestDeviceFilter(string)
TemplateControl.LoadControl(string)
TemplateControl.LoadControl(Type, object[])
TemplateControl.LoadTemplate(string)
TemplateControl.ParseControl(string)
TemplateControl.ParseControl(string, bool)
TemplateControl.Eval(string)
TemplateControl.Eval(string, string)
TemplateControl.XPath(string)
TemplateControl.XPath(string, IXmlNamespaceResolver)
TemplateControl.XPath(string, string)
TemplateControl.XPath(string, string, IXmlNamespaceResolver)
TemplateControl.XPathSelect(string)
TemplateControl.XPathSelect(string, IXmlNamespaceResolver)
TemplateControl.GetLocalResourceObject(string)
TemplateControl.GetLocalResourceObject(string, Type, string)
TemplateControl.GetGlobalResourceObject(string, string)
TemplateControl.GetGlobalResourceObject(string, string, Type, string)
TemplateControl.EnableTheming
TemplateControl.AppRelativeVirtualPath
TemplateControl.CommitTransaction
TemplateControl.AbortTransaction
TemplateControl.Error
Control.ResolveAdapter()
Control.HasEvents()
Control.GetRouteUrl(object)
Control.GetRouteUrl(string, object)
Control.GetRouteUrl(RouteValueDictionary)
Control.GetRouteUrl(string, RouteValueDictionary)
Control.GetUniqueIDRelativeTo(Control)
Control.ApplyStyleSheetSkin(Page)
Control.OnDataBinding(EventArgs)
Control.DataBind()
Control.DataBind(bool)
Control.DataBindChildren()
Control.AddParsedSubObject(object)
Control.EnsureID()
Control.ClearChildState()
Control.ClearChildControlState()
Control.ClearChildViewState()
Control.ClearEffectiveClientIDMode()
Control.ClearCachedClientID()
Control.Focus()
Control.LoadControlState(object)
Control.MapPathSecure(string)
Control.OpenFile(string)
Control.BuildProfileTree(string, bool)
Control.SaveControlState()
Control.Render(HtmlTextWriter)
Control.RenderChildren(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter, ControlAdapter)
Control.Dispose()
Control.RaiseBubbleEvent(object, EventArgs)
Control.OnBubbleEvent(object, EventArgs)
Control.AddedControl(Control, int)
Control.CreateControlCollection()
Control.CreateChildControls()
Control.ResolveUrl(string)
Control.ResolveClientUrl(string)
Control.FindControl(string)
Control.FindControl(string, int)
Control.GetDesignModeState()
Control.HasControls()
Control.IsLiteralContent()
Control.TrackViewState()
Control.EnsureChildControls()
Control.RemovedControl(Control)
Control.SetDesignModeState(IDictionary)
Control.SetRenderMethodDelegate(RenderMethod)
Control.ClientIDMode
Control.ClientID
Control.ClientIDSeparator
Control.Context
Control.Adapter
Control.DesignMode
Control.Events
Control.ID
Control.IsChildControlStateCleared
Control.SkinID
Control.EnableViewState
Control.ViewStateMode
Control.IsViewStateEnabled
Control.NamingContainer
Control.IdSeparator
Control.LoadViewStateByID
Control.Page
Control.RenderingCompatibility
Control.TemplateControl
Control.Parent
Control.TemplateSourceDirectory
Control.AppRelativeTemplateSourceDirectory
Control.Site
Control.Visible
Control.UniqueID
Control.HasChildViewState
Control.Controls
Control.ValidateRequestMode
Control.ViewState
Control.ViewStateIgnoresCase
Control.ChildControlsCreated
Control.IsTrackingViewState
Control.Disposed
Control.DataBinding
Control.Init
Control.Load
Control.PreRender
Control.Unload
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.UI.Skins
Assembly: DotNetNuke.dll
Syntax
public class Skin : UserControlBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor

Constructors

Skin()

Declaration
[Obsolete("Deprecated in DotNetNuke 10.0.0. Please use overload with INavigationManager. Scheduled removal in v12.0.0.")]
public Skin()

Skin(IModuleControlPipeline, INavigationManager)

Declaration
public Skin(IModuleControlPipeline moduleControlPipeline, INavigationManager navigationManager)
Parameters
Type Name Description
IModuleControlPipeline moduleControlPipeline
INavigationManager navigationManager

Fields

CONTAINERLOAD_ERROR

Declaration
public static string CONTAINERLOAD_ERROR
Field Value
Type Description
string

MODULEADD_ERROR

Declaration
public static string MODULEADD_ERROR
Field Value
Type Description
string

MODULELOAD_ERROR

Declaration
public static string MODULELOAD_ERROR
Field Value
Type Description
string

OnInitMessage

Declaration
public const string OnInitMessage = "Skin_InitMessage"
Field Value
Type Description
string

OnInitMessageType

Declaration
public const string OnInitMessageType = "Skin_InitMessageType"
Field Value
Type Description
string

Properties

ActionEventListeners

Declaration
public ArrayList ActionEventListeners { get; set; }
Property Value
Type Description
ArrayList

ModuleControlPipeline

Declaration
protected IModuleControlPipeline ModuleControlPipeline { get; }
Property Value
Type Description
IModuleControlPipeline

NavigationManager

Declaration
protected INavigationManager NavigationManager { get; }
Property Value
Type Description
INavigationManager

Panes

Declaration
public Dictionary<string, Pane> Panes { get; }
Property Value
Type Description
Dictionary<string, Pane>

SkinPath

Declaration
public string SkinPath { get; }
Property Value
Type Description
string

SkinSrc

Declaration
public string SkinSrc { get; set; }
Property Value
Type Description
string

Methods

AddModuleMessage(PortalModuleBase, string, ModuleMessageType)

Declaration
public static void AddModuleMessage(PortalModuleBase control, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type Name Description
PortalModuleBase control
string message
ModuleMessage.ModuleMessageType moduleMessageType

AddModuleMessage(PortalModuleBase, string, string, ModuleMessageType)

Declaration
public static void AddModuleMessage(PortalModuleBase control, string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type Name Description
PortalModuleBase control
string heading
string message
ModuleMessage.ModuleMessageType moduleMessageType

AddModuleMessage(Control, string, ModuleMessageType)

Declaration
public static void AddModuleMessage(Control control, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type Name Description
Control control
string message
ModuleMessage.ModuleMessageType moduleMessageType

AddModuleMessage(Control, string, string, ModuleMessageType)

Declaration
public static void AddModuleMessage(Control control, string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type Name Description
Control control
string heading
string message
ModuleMessage.ModuleMessageType moduleMessageType

AddPageMessage(Skin, string, string, ModuleMessageType)

Declaration
public static void AddPageMessage(Skin skin, string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type Name Description
Skin skin
string heading
string message
ModuleMessage.ModuleMessageType moduleMessageType

AddPageMessage(Skin, string, string, string)

Declaration
public static void AddPageMessage(Skin skin, string heading, string message, string iconSrc)
Parameters
Type Name Description
Skin skin
string heading
string message
string iconSrc

AddPageMessage(Page, string, string, ModuleMessageType)

Declaration
public static void AddPageMessage(Page page, string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type Name Description
Page page
string heading
string message
ModuleMessage.ModuleMessageType moduleMessageType

AddPageMessage(Page, string, string, string)

Declaration
public static void AddPageMessage(Page page, string heading, string message, string iconSrc)
Parameters
Type Name Description
Page page
string heading
string message
string iconSrc

GetInstalledSkins()

Declaration
public static List<InstalledSkinInfo> GetInstalledSkins()
Returns
Type Description
List<InstalledSkinInfo>

GetModuleMessageControl(string, string, ModuleMessageType)

Declaration
public static ModuleMessage GetModuleMessageControl(string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType)
Parameters
Type Name Description
string heading
string message
ModuleMessage.ModuleMessageType moduleMessageType
Returns
Type Description
ModuleMessage

GetModuleMessageControl(string, string, ModuleMessageType, string)

Declaration
public static ModuleMessage GetModuleMessageControl(string heading, string message, ModuleMessage.ModuleMessageType moduleMessageType, string iconImage)
Parameters
Type Name Description
string heading
string message
ModuleMessage.ModuleMessageType moduleMessageType
string iconImage
Returns
Type Description
ModuleMessage

GetModuleMessageControl(string, string, string)

Declaration
public static ModuleMessage GetModuleMessageControl(string heading, string message, string iconImage)
Parameters
Type Name Description
string heading
string message
string iconImage
Returns
Type Description
ModuleMessage

GetParentSkin(PortalModuleBase)

Declaration
public static Skin GetParentSkin(PortalModuleBase module)
Parameters
Type Name Description
PortalModuleBase module
Returns
Type Description
Skin

GetParentSkin(Control)

Declaration
public static Skin GetParentSkin(Control control)
Parameters
Type Name Description
Control control
Returns
Type Description
Skin

GetPopUpSkin(PageBase)

Declaration
public static Skin GetPopUpSkin(PageBase page)
Parameters
Type Name Description
PageBase page
Returns
Type Description
Skin

GetSkin(PageBase)

Declaration
public static Skin GetSkin(PageBase page)
Parameters
Type Name Description
PageBase page
Returns
Type Description
Skin

InjectModule(Pane, ModuleInfo)

Declaration
public bool InjectModule(Pane pane, ModuleInfo module)
Parameters
Type Name Description
Pane pane
ModuleInfo module
Returns
Type Description
bool

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
UserControl.OnInit(EventArgs)

OnLoad(EventArgs)

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
Control.OnLoad(EventArgs)

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
Control.OnPreRender(EventArgs)

OnUnload(EventArgs)

Declaration
protected override void OnUnload(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
Control.OnUnload(EventArgs)

RegisterModuleActionEvent(int, ActionEventHandler)

Declaration
public void RegisterModuleActionEvent(int moduleId, ActionEventHandler e)
Parameters
Type Name Description
int moduleId
ActionEventHandler e

Implements

IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IFilterResolutionService
IAttributeAccessor
INamingContainer
IUserControlDesignerAccessor

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS