AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageModule..::..ContainerPanel Property

Gets the ASP Panel that wraps the module. Used for controls that have absolute positioning or special requirements.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public virtual Panel ContainerPanel { get; }

Field Value

The ASP Panel, or null if no container panel is defined.

Examples


Override this property to return a wrapper panel when your module needs special CSS positioning or layout control:
C#
public class StickyNavModule : AdvantageModule
{
    protected Panel pnlWrapper;

    public override Panel ContainerPanel
    {
        get { return pnlWrapper; }
    }
}