DataGridComponentEditor Class
Provides a component editor for a DataGrid Web server control.
Assembly: System.Design (in System.Design.dll)
A component editor provides a user interface (UI) for editing the properties of a DataGrid control.
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.ComponentModel::ComponentEditor
System.Windows.Forms.Design::WindowsFormsComponentEditor
System.Web.UI.Design.WebControls::BaseDataListComponentEditor
System.Web.UI.Design.WebControls::DataGridComponentEditor
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.