DataGridComponentEditor Class
.NET Framework 2.0
Provides a component editor for a DataGrid Web server control.
Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
The following code example uses the EditorAttribute attribute to associate this editor with a class that extends the DataGrid class.
Imports System Imports System.ComponentModel Imports System.Web.UI.WebControls Imports System.Web.UI.Design.WebControls Imports System.Security.Permissions Namespace Examples.AspNet ' Associate the SimpleDataList class with its designer using the ' DesignerAttribute class. ' Associate the SimpleDataList class with the DataListComponentEditor ' object using the EditorAttribute class. <DesignerAttribute( _ GetType(SimpleDataListDesigner)), _ EditorAttribute(GetType(DataListComponentEditor), _ GetType(ComponentEditor)) _ > _ Public Class SimpleDataList Inherits DataList ' To customize the DataList class, insert code here. End Class End Namespace
System.Object
System.ComponentModel.ComponentEditor
System.Windows.Forms.Design.WindowsFormsComponentEditor
System.Web.UI.Design.WebControls.BaseDataListComponentEditor
System.Web.UI.Design.WebControls.DataGridComponentEditor
System.ComponentModel.ComponentEditor
System.Windows.Forms.Design.WindowsFormsComponentEditor
System.Web.UI.Design.WebControls.BaseDataListComponentEditor
System.Web.UI.Design.WebControls.DataGridComponentEditor
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show: