
DataGridDesigner | 707
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
window with multiple pages. This window, which includes information for config-
uring columns, paging, format, and borders, can be displayed by choosing “Property
Builder” from the context menu.
Hierarchy
System.Object ➝ System.ComponentModel.ComponentEditor ➝ System.Windows.Forms.
Design.WindowsFormsComponentEditor
➝ BaseDataListComponentEditor ➝
DataGridComponentEditor
DataGridDesigner
System.Web.UI.Design.WebControls (system.design.dll)
disposable
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 format-
ting 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 DataGridComponentEditor : BaseDataListComponentEditor {
// Public Constructors
public DataGridComponentEditor();
public DataGridComponentEditor( int initialPage);
// Protected Instance Methods
protected override Type[ ] GetComponentEditorPages();
// overrides System.Windows.Forms.Design.WindowsFormsComponentEditor
}
public class DataGridDesigner : BaseDataListDesigner ...