DataGridComponentEditor Class
.NET Framework 3.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
- SecurityPermission for calling unmanaged code. Demand value: Demand; Associated enumeration: UnmanagedCode.
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
Community Additions
ADD
Show: