Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

UserControl Class

Extends standard .Net user control by adding data binding and localization functionality.

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

System.Object
   Control
      TemplateControl
         UserControl
            UserControl

[Visual Basic]
<DefaultEvent(Name:="Load")> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", DesignerTypeName:="System.Web.UI.Design.UserControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<Designer(DesignerBaseTypeName:="System.ComponentModel.Design.IRootDesigner, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", DesignerTypeName:="Microsoft.VisualStudio.Web.WebForms.WebFormDesigner, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<DesignerCategory(Category:="ASPXCodeBehind")> _
<DesignerSerializer(SerializerTypeName:="Microsoft.VisualStudio.Web.WebForms.WebFormCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName:="System.ComponentModel.Design.Serialization.TypeCodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<ParseChildren(ChildControlType:=System.Web.UI.Control, ChildrenAsProperties:=True)> _
<ToolboxItem(ToolboxItemType:=null)> _
<ControlBuilder(BuilderType:=System.Web.UI.UserControlControlBuilder)> _
<Bindable(Bindable:=True, Direction:=BindingDirection.OneWay)> _
<DefaultProperty(Name:="ID")> _
<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")> _
<Themeable(Themeable:=False)> _
<ToolboxItemFilter(FilterString:="System.Web.UI", FilterType:=ToolboxItemFilterType.Require)> _
Public Class UserControl
    Inherits UserControl
    Implements IApplicationContextAware, IWebDataBound, IDataBound, ISupportsWebDependencyInjection, IPostBackDataHandler, IValidationContainer, IWebNavigable
[C#]
[DefaultEvent(Name="Load")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", DesignerTypeName="System.Web.UI.Design.UserControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IRootDesigner, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", DesignerTypeName="Microsoft.VisualStudio.Web.WebForms.WebFormDesigner, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DesignerCategory(Category="ASPXCodeBehind")]
[DesignerSerializer(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.WebFormCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.TypeCodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ParseChildren(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=True)]
[ToolboxItem(ToolboxItemType=null)]
[ControlBuilder(BuilderType=System.Web.UI.UserControlControlBuilder)]
[Bindable(Bindable=True, Direction=BindingDirection.OneWay)]
[DefaultProperty(Name="ID")]
[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")]
[Themeable(Themeable=False)]
[ToolboxItemFilter(FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)]
public class UserControl : UserControl, IApplicationContextAware, IWebDataBound, IDataBound, ISupportsWebDependencyInjection, IPostBackDataHandler, IValidationContainer, IWebNavigable

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.

Requirements

Namespace: Spring.Web.UI

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

See Also

UserControl Members | Spring.Web.UI Namespace