DataGridComponentEditor クラス

定義

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

public ref class DataGridComponentEditor : System::Web::UI::Design::WebControls::BaseDataListComponentEditor
public class DataGridComponentEditor : System.Web.UI.Design.WebControls.BaseDataListComponentEditor
type DataGridComponentEditor = class
    inherit BaseDataListComponentEditor
Public Class DataGridComponentEditor
Inherits BaseDataListComponentEditor
継承

次のコード例では、 属性を EditorAttribute 使用して、このエディターを クラスを拡張するクラスに DataGrid 関連付けます。

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

注釈

コンポーネント エディターには、コントロールのプロパティを編集するためのユーザー インターフェイス (UI) が用意 DataGrid されています。

コンストラクター

DataGridComponentEditor()

DataGridComponentEditor クラスの新しいインスタンスを初期化し、初期ページを 0 に設定します。

DataGridComponentEditor(Int32)

DataGridComponentEditor クラスの新しいインスタンスを初期化し、初期ページを指定したインデックスに設定します。

メソッド

EditComponent(ITypeDescriptorContext, Object)

指定したコンテキスト情報を使用して、指定したコンポーネントをユーザーが編集できるようにするエディター ウィンドウを作成します。

(継承元 WindowsFormsComponentEditor)
EditComponent(ITypeDescriptorContext, Object, IWin32Window)

指定したコンテキスト記述子と親ウィンドウを使用して、指定したコンポーネントを編集します。

(継承元 BaseDataListComponentEditor)
EditComponent(Object)

コンポーネントを編集し、このコンポーネントが変更されたかどうかを示す値を返します。

(継承元 ComponentEditor)
EditComponent(Object, IWin32Window)

コンポーネントを所有している指定したウィンドウを使用して、指定したコンポーネントをユーザーが編集できるようにするエディター ウィンドウを作成します。

(継承元 WindowsFormsComponentEditor)
Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetComponentEditorPages()

このエディターを使用して編集できるページに対応する Type オブジェクトの配列を取得します。

GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetInitialComponentEditorPageIndex()

コンポーネント エディターに表示する初期ページのインデックスを取得します。

(継承元 BaseDataListComponentEditor)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象

こちらもご覧ください