次の方法で共有


DataGridComponentEditor クラス

Web フォーム DataGrid Web サーバー コントロールのコンポーネント エディタを提供します。

この型のすべてのメンバの一覧については、DataGridComponentEditor メンバ を参照してください。

System.Object
   System.ComponentModel.ComponentEditor
      System.Windows.Forms.Design.WindowsFormsComponentEditor
         System.Web.UI.Design.WebControls.BaseDataListComponentEditor
            System.Web.UI.Design.WebControls.DataGridComponentEditor

Public Class DataGridComponentEditor
   Inherits BaseDataListComponentEditor
[C#]
public class DataGridComponentEditor : BaseDataListComponentEditor
[C++]
public __gc class DataGridComponentEditor : public
   BaseDataListComponentEditor
[JScript]
public class DataGridComponentEditor extends
   BaseDataListComponentEditor

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

解説

コンポーネント エディタとは、コントロールのプロパティをまとめて編集するためのカスタム ユーザー インターフェイスを提供するクラスです。

使用例

EditorAttribute クラスを使用して、 DataGridComponentEditor クラスを DataGrid クラスから派生した SimpleDataGrid というクラスに関連付けるコード例を次に示します。

必要条件

名前空間: System.Web.UI.Design.WebControls

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

アセンブリ: System.Design (System.Design.dll 内)

参照

DataGridComponentEditor メンバ | System.Web.UI.Design.WebControls 名前空間 | DataGrid | DataGridDesigner