www.gibmonks.com

Main Page

  Previous Section Next Section

DataGridDesignerdisposable

System.Web.UI.Design.WebControls (system.design.dll)class

This class provides the design-time representation of a System.Web.UI.WebControls.DataGrid control. A sample table is displayed if no connection is made. If you bind to a data source at design time, the schema is used to create column headings, and the formatting options you have selected are also shown. However, the actual data rows use dummy values (like "abc") generated by the System.Web.UI.Design.DesignTimeData class.

public class DataGridDesigner : BaseDataListDesigner {
// Public Constructors
   public DataGridDesigner( );
// Public Instance Methods
   public override string GetDesignTimeHtml( );
                 // overrides System.Web.UI.Design.ControlDesigner
   public override string GetTemplateContainerDataItemProperty(string templateName); 
                 // overrides System.Web.UI.Design.TemplatedControlDesigner 
   public override string GetTemplateContent(System.Web.UI.Design.ITemplateEditingFrame editingFrame, 
        string templateName, out bool allowEditing); 
                 // overrides System.Web.UI.Design.TemplatedControlDesigner 
   public override Type GetTemplatePropertyParentType(string templateName);
                 // overrides System.Web.UI.Design.TemplatedControlDesigner
   public override void Initialize(System.ComponentModel.IComponent component); 
                 // overrides BaseDataListDesigner
   public virtual void OnColumnsChanged( );
   public override void SetTemplateContent(System.Web.UI.Design.ITemplateEditingFrame editingFrame, 
        string templateName, string templateContent); 
                 // overrides System.Web.UI.Design.TemplatedControlDesigner
// Protected Instance Methods
    protected override ITemplateEditingFrame CreateTemplateEditingFrame(System.Web.UI.Design.TemplateEditingVerb verb);  
                 // overrides System.Web.UI.Design.TemplatedControlDesigner
   protected override void Dispose(bool disposing);
                 // overrides BaseDataListDesigner
   protected override TemplateEditingVerb[ ] GetCachedTemplateEditingVerbs( );
                 // overrides System.Web.UI.Design.TemplatedControlDesigner
   protected override string GetEmptyDesignTimeHtml( ); 
                 // overrides System.Web.UI.Design.ControlDesigner
   protected override string GetErrorDesignTimeHtml(Exception e); 
                 // overrides System.Web.UI.Design.ControlDesigner
   protected override void OnTemplateEditingVerbsChanged( );
                 // overrides BaseDataListDesigner
}

Hierarchy

System.Object System.ComponentModel.Design.ComponentDesigner(System.ComponentModel.Design.IDesigner, System.IDisposable, System.ComponentModel.Design.IDesignerFilter) System.Web.UI.Design.HtmlControlDesigner System.Web.UI.Design.ControlDesigner System.Web.UI.Design.TemplatedControlDesigner BaseDataListDesigner(System.Web.UI.Design.IDataSourceProvider) DataGridDesigner

      Previous Section Next Section