This class provides the design-time representation for the System.Web.UI.WebControls.Repeater control. The design-time view shows headings and other static content, but not data-bound items. If no templates are entered, the control displays the message "Switch to HTML view to edit the control's templates."
public class RepeaterDesigner : System.Web.UI.Design.ControlDesigner, System.Web.UI.Design.IDataSourceProvider { // Public Constructors public RepeaterDesigner( ); // Public Instance Properties public string DataMember{set; get; } public string DataSource{set; get; } // Protected Instance Properties protected bool TemplatesExist{get; } // Public Instance Methods public override string GetDesignTimeHtml( ); // overrides System.Web.UI.Design.ControlDesigner public IEnumerable GetResolvedSelectedDataSource( ); // implements System.Web.UI.Design.IDataSourceProvider public object GetSelectedDataSource( ); // implements System.Web.UI.Design.IDataSourceProvider public override void Initialize(System.ComponentModel.IComponent component); // overrides System.Web.UI.Design.ControlDesigner public override void OnComponentChanged(object source, System.ComponentModel.Design.ComponentChangedEventArgs ce); // overrides System.Web.UI.Design.ControlDesigner public virtual void OnDataSourceChanged( ); // Protected Instance Methods protected override void Dispose(bool disposing); // overrides System.Web.UI.Design.HtmlControlDesigner protected IEnumerable GetDesignTimeDataSource(System.Collections.IEnumerable selectedDataSource, int minimumRows); protected IEnumerable GetDesignTimeDataSource(int minimumRows); 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 PreFilterProperties(System.Collections.IDictionary properties); // overrides System.Web.UI.Design.ControlDesigner }