welcome to .net developement bar

System.Web.UI.Control的 核心方法,属性和事件


                                //System.Web.UI.Control的 核心方法,属性和事件//    
     /*----------------------------------------------------------------------*/
        public class Control: IComponent,IDisposable,IParseAccessor,IDataBindingsAccessor
        {
          protected virtual void Render(HtmlTextWriter);
          public            void RenderControl(HtmlTextWriter);
          protected virtual void RenderChildren(HtmlTextWriter);
          public    virtual bool Visible{get;set;}
           
          //child control management
          protected virtual void CreateChildControls();
          protected virtual void EnsureChildControls();
          public    virtual Control FindControl(string);
          public    virtual bool  HasControls();
          public    virtual ControlCollection Controls   {get;}
          public    virtual NamingContainer              {get;}
          protected         bool ChildControlsCreated    {get;set;}
         
          //identification
          public virtual string ClientID                 {get;}
          public virtual string ID                       {get;set;}
          public virtual string UniqueID                 {get;}
         
   
          //accessors
          public virtual Page Page                       {get;set;}
          public virtual Control Parent                  {get;}
          protected virtual HttpContext Context          {get;}
         
   
          //state management
          public virtual bool EnableViewState            {get;set;}
          protected virtual StateBag ViewState           {get;}
          protected        bool HasChildViewState        {get;}
          protected        bool IsTrackingViewState      {get;}
   
          //events
          public event EventHandler DataBinding;
          public event EventHandler Init;
          public event EventHandler Load;
          public event EventHandler PreRender;
          public event EventHandler Unload;
         
   
         //Misc
          public virtual void DataBind();
          public         string ResolveUrl(string);

  }
     /*------------------------------------------------------------------------*/    
 

 

 

posted @ 2006-04-15 18:54  endif  阅读(447)  评论(0)    收藏  举报