Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Panel Class

This panel provides the same features as Panel, but provides additional means with regards to Spring.

For a list of all members of this type, see Panel Members .

System.Object
   Control
      WebControl
         Panel
            Panel
               DataBindingPanel

[Visual Basic]
<AspNetHostingPermission(Level:=AspNetHostingPermissionLevel.Minimal, Action:=SecurityAction.InheritanceDemand, Unrestricted:=False)> _
<AspNetHostingPermission(Level:=AspNetHostingPermissionLevel.Minimal, Action:=SecurityAction.LinkDemand, Unrestricted:=False)> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.WebControls.PanelContainerDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<PersistChildren(Persist:=True, UsesCustomPersistence:=False)> _
<ToolboxData(Data:="<{0}:Panel runat="server" Width="125px" Height="50px"> </{0}:Panel>")> _
<ParseChildren(ChildControlType:=System.Web.UI.Control, ChildrenAsProperties:=False)> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.WebControls.PanelContainerDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<Themeable(Themeable:=True)> _
<ToolboxItem(ToolboxItemType:=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName:="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<Bindable(Bindable:=True, Direction:=BindingDirection.OneWay)> _
<DefaultProperty(Name:="ID")> _
<DesignerCategory(Category:="Code")> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<DesignerSerializer(SerializerTypeName:="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName:="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<ToolboxItemFilter(FilterString:="System.Web.UI", FilterType:=ToolboxItemFilterType.Require)> _
Public Class Panel
    Inherits Panel
    Implements ISupportsWebDependencyInjection
[C#]
[AspNetHostingPermission(Level=AspNetHostingPermissionLevel.Minimal, Action=SecurityAction.InheritanceDemand, Unrestricted=False)]
[AspNetHostingPermission(Level=AspNetHostingPermissionLevel.Minimal, Action=SecurityAction.LinkDemand, Unrestricted=False)]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.WebControls.PanelContainerDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[PersistChildren(Persist=True, UsesCustomPersistence=False)]
[ToolboxData(Data="<{0}:Panel runat="server" Width="125px" Height="50px"> </{0}:Panel>")]
[ParseChildren(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=False)]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.WebControls.PanelContainerDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[Themeable(Themeable=True)]
[ToolboxItem(ToolboxItemType=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[Bindable(Bindable=True, Direction=BindingDirection.OneWay)]
[DefaultProperty(Name="ID")]
[DesignerCategory(Category="Code")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DesignerSerializer(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter(FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)]
public class Panel : Panel, ISupportsWebDependencyInjection

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

In some cases, automatic dependency injection can cause performance problems. In this case,you can use a Panel for finer-grained control over which controls are to be injected or not.

Requirements

Namespace: Spring.Web.UI.Controls

Assembly: Spring.Web (in Spring.Web.dll)

See Also

Panel Members | Spring.Web.UI.Controls Namespace