UserControlControlBuilder

UserControlControlBuilder

System.Web.UI (system.web.dll)class

This class provides a control designer for all user controls, which is used implicitly. It provides the following basic functionality: it adds a child control to the UserControl.Controls collection for every nested control that it encounters within the user control tag, and it creates literal controls to represent any text between nested control tags. You can create a custom control builder for your user controls by deriving from this class.

public class UserControlControlBuilder : ControlBuilder { // Public Constructors    public UserControlControlBuilder( ); // Public Instance Methods    public override bool NeedsTagInnerText( );        // overrides ControlBuilder    public override void SetTagInnerText(string text);           // overrides ControlBuilder }

Hierarchy

System.Object ControlBuilder UserControlControlBuilder



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net