DataGridViewComboBoxCell クラス

定義

DataGridView コントロール内にコンボ ボックスを表示します。

public ref class DataGridViewComboBoxCell : System::Windows::Forms::DataGridViewCell
public class DataGridViewComboBoxCell : System.Windows.Forms.DataGridViewCell
type DataGridViewComboBoxCell = class
    inherit DataGridViewCell
Public Class DataGridViewComboBoxCell
Inherits DataGridViewCell
継承
DataGridViewComboBoxCell

次のコード例では、 クラスを DataGridViewComboBoxColumn 使用する クラスを DataGridViewComboBoxCell 示します。 セル DataSource、、 ValueMemberおよび プロパティは、この例で対応する列プロパティを設定するのと DisplayMember 同じ方法で設定できます。 この例は、クラスの概要に関するトピックで使用できるより大きな例の DataGridViewComboBoxColumn 一部です。

private:
    DataGridViewComboBoxColumn^ CreateComboBoxColumn()
    {
        DataGridViewComboBoxColumn^ column =
            gcnew DataGridViewComboBoxColumn();
        {
            column->DataPropertyName = ColumnName::TitleOfCourtesy.ToString();
            column->HeaderText = ColumnName::TitleOfCourtesy.ToString();
            column->DropDownWidth = 160;
            column->Width = 90;
            column->MaxDropDownItems = 3;
            column->FlatStyle = FlatStyle::Flat;
        }
        return column;
    }

private:
    void SetAlternateChoicesUsingDataSource(DataGridViewComboBoxColumn^ comboboxColumn)
    {
        {
            comboboxColumn->DataSource = RetrieveAlternativeTitles();
            comboboxColumn->ValueMember = ColumnName::TitleOfCourtesy.ToString();
            comboboxColumn->DisplayMember = comboboxColumn->ValueMember;
        }
    }

private:
    DataTable^ RetrieveAlternativeTitles()
    {
        return Populate("SELECT distinct TitleOfCourtesy FROM Employees");
    }

    String^ connectionString;

private:
    DataTable^ Populate(String^ sqlCommand)
    {
        SqlConnection^ northwindConnection = gcnew SqlConnection(connectionString);
        northwindConnection->Open();

        SqlCommand^ command = gcnew SqlCommand(sqlCommand, northwindConnection);
        SqlDataAdapter^ adapter = gcnew SqlDataAdapter();
        adapter->SelectCommand = command;

        DataTable^ table = gcnew DataTable();
        adapter->Fill(table);

        return table;
    }

    // Using an enum provides some abstraction between column index
    // and column name along with compile time checking, and gives
    // a handy place to store the column names.
    enum class ColumnName
    {
        EmployeeID,
        LastName,
        FirstName,
        Title,
        TitleOfCourtesy,
        BirthDate,
        HireDate,
        Address,
        City,
        Region,
        PostalCode,
        Country,
        HomePhone,
        Extension,
        Photo,
        Notes,
        ReportsTo,
        PhotoPath,
        OutOfOffice
    };
private DataGridViewComboBoxColumn CreateComboBoxColumn()
{
    DataGridViewComboBoxColumn column =
        new DataGridViewComboBoxColumn();
    {
        column.DataPropertyName = ColumnName.TitleOfCourtesy.ToString();
        column.HeaderText = ColumnName.TitleOfCourtesy.ToString();
        column.DropDownWidth = 160;
        column.Width = 90;
        column.MaxDropDownItems = 3;
        column.FlatStyle = FlatStyle.Flat;
    }
    return column;
}

private void SetAlternateChoicesUsingDataSource(DataGridViewComboBoxColumn comboboxColumn)
{
    {
        comboboxColumn.DataSource = RetrieveAlternativeTitles();
        comboboxColumn.ValueMember = ColumnName.TitleOfCourtesy.ToString();
        comboboxColumn.DisplayMember = comboboxColumn.ValueMember;
    }
}

private DataTable RetrieveAlternativeTitles()
{
    return Populate("SELECT distinct TitleOfCourtesy FROM Employees");
}

string connectionString =
    "Integrated Security=SSPI;Persist Security Info=False;" +
    "Initial Catalog=Northwind;Data Source=localhost";

private DataTable Populate(string sqlCommand)
{
    SqlConnection northwindConnection = new SqlConnection(connectionString);
    northwindConnection.Open();

    SqlCommand command = new SqlCommand(sqlCommand, northwindConnection);
    SqlDataAdapter adapter = new SqlDataAdapter();
    adapter.SelectCommand = command;

    DataTable table = new DataTable();
    table.Locale = System.Globalization.CultureInfo.InvariantCulture;
    adapter.Fill(table);

    return table;
}

// Using an enum provides some abstraction between column index
// and column name along with compile time checking, and gives
// a handy place to store the column names.
enum ColumnName
{
    EmployeeId,
    LastName,
    FirstName,
    Title,
    TitleOfCourtesy,
    BirthDate,
    HireDate,
    Address,
    City,
    Region,
    PostalCode,
    Country,
    HomePhone,
    Extension,
    Photo,
    Notes,
    ReportsTo,
    PhotoPath,
    OutOfOffice
};
Private Function CreateComboBoxColumn() _
    As DataGridViewComboBoxColumn
    Dim column As New DataGridViewComboBoxColumn()

    With column
        .DataPropertyName = ColumnName.TitleOfCourtesy.ToString()
        .HeaderText = ColumnName.TitleOfCourtesy.ToString()
        .DropDownWidth = 160
        .Width = 90
        .MaxDropDownItems = 3
        .FlatStyle = FlatStyle.Flat
    End With
    Return column
End Function

Private Sub SetAlternateChoicesUsingDataSource( _
    ByVal comboboxColumn As DataGridViewComboBoxColumn)
    With comboboxColumn
        .DataSource = RetrieveAlternativeTitles()
        .ValueMember = ColumnName.TitleOfCourtesy.ToString()
        .DisplayMember = .ValueMember
    End With
End Sub

Private Function RetrieveAlternativeTitles() As DataTable
    Return Populate( _
        "SELECT distinct TitleOfCourtesy FROM Employees")
End Function

Private connectionString As String = _
        "Integrated Security=SSPI;Persist Security Info=False;" _
        & "Initial Catalog=Northwind;Data Source=localhost"

Private Function Populate(ByVal sqlCommand As String) As DataTable
    Dim northwindConnection As New SqlConnection(connectionString)
    northwindConnection.Open()

    Dim command As New SqlCommand(sqlCommand, _
        northwindConnection)
    Dim adapter As New SqlDataAdapter()
    adapter.SelectCommand = command
    Dim table As New DataTable()
    table.Locale = System.Globalization.CultureInfo.InvariantCulture
    adapter.Fill(table)

    Return table
End Function

' Using an enum provides some abstraction between column index
' and column name along with compile time checking, and gives
' a handy place to store the column names.
Enum ColumnName
    EmployeeId
    LastName
    FirstName
    Title
    TitleOfCourtesy
    BirthDate
    HireDate
    Address
    City
    Region
    PostalCode
    Country
    HomePhone
    Extension
    Photo
    Notes
    ReportsTo
    PhotoPath
    OutOfOffice
End Enum

注釈

クラスは DataGridViewComboBoxCell 、コンボ ボックス コントロールを DataGridViewCell 表示するために使用される特殊な型です。これは、リスト選択フィールドと組み合わせた編集フィールドです。 現在選択されている DataGridViewComboBoxCell は、 DataGridViewComboBoxEditingControl セルの プロパティが に設定されていると仮定して、ユーザーがセルの ReadOnly 値を変更できる を falseホストします。

ComboBoxコントロールとは異なり、 DataGridViewComboBoxCell には および SelectedValue プロパティがありませんSelectedIndex。 代わりに、ドロップダウン リストから値を選択すると、セル Value プロパティが設定されます。

DataGridViewComboBoxColumnは、この型のセルを保持するために特殊化された列型です。 既定では、 DataGridViewComboBoxColumn.CellTemplate は新 DataGridViewComboBoxCellしい に初期化されます。 既存 DataGridViewComboBoxCellの の後の列内のセルをパターン設定するには、パターンとして使用するセルに列の CellTemplate プロパティを設定します。

列のセル関連プロパティは、テンプレート セルの同様の名前のプロパティのラッパーです。 テンプレート セルのプロパティ値を変更すると、変更後に追加されたテンプレートに基づくセルにのみ影響します。 ただし、列のセル関連のプロパティ値を変更すると、テンプレート セルと列内の他のすべてのセルが更新され、必要に応じて列の表示が更新されます。

通常は、特定のセルの列値を DataGridViewComboBoxColumn オーバーライドしない限り、型を操作します。 ドロップダウン リストの設定に DataGridViewComboBoxColumn 関するクラスの概要トピックで説明されているガイドラインは、セルインスタンスと列インスタンスの両方に適用されます。

注意 (継承者)

から DataGridViewComboBoxCell 派生し、派生クラスに新しいプロパティを追加するときは、 メソッドをオーバーライド Clone() して、複製操作中に新しいプロパティをコピーしてください。 基底クラスの Clone() プロパティが新しいセルにコピーされるように、基底クラスの メソッドも呼び出す必要があります。

コンストラクター

DataGridViewComboBoxCell()

DataGridViewComboBoxCell クラスの新しいインスタンスを初期化します。

プロパティ

AccessibilityObject

DataGridViewCell.DataGridViewCellAccessibleObject に割り当てられた DataGridViewCell を取得します。

(継承元 DataGridViewCell)
AutoComplete

セルに入力される文字とドロップダウン リストの選択項目を一致させるかどうかを示す値を取得または設定します。

ColumnIndex

このセルの列インデックスを取得します。

(継承元 DataGridViewCell)
ContentBounds

セルの内容領域を囲んだ外接する四角形を取得します。

(継承元 DataGridViewCell)
ContextMenuStrip

セルに関連付けられたショートカット メニューを取得または設定します。

(継承元 DataGridViewCell)
DataGridView

この要素に関連付けられている DataGridView コントロールを取得します。

(継承元 DataGridViewElement)
DataSource

ドロップダウン リストに表示する選択項目に関するデータを含むデータ ソースを取得または設定します。

DefaultNewRowValue

新しいレコードの行のセルに対する既定値を取得します。

(継承元 DataGridViewCell)
Displayed

セルが現在画面上に表示されているかどうかを示す値を取得します。

(継承元 DataGridViewCell)
DisplayMember

ドロップダウン リストに表示する選択項目の収集先を指定する文字列を取得または設定します。

DisplayStyle

編集モードでないときにコンボ ボックスを表示する方法を決定する値を取得または設定します。

DisplayStyleForCurrentCellOnly

DisplayStyle プロパティの値を DataGridView コントロールの現在のセルにのみ適用するかどうかを示す値を取得または設定します。

DropDownWidth

コンボ ボックスのドロップダウン リスト部分の幅を取得または設定します。

EditedFormattedValue

セルが編集モードであるかどうか、および値がコミットされているかどうかに関係なく、セルの現在の書式指定済みの値を取得します。

(継承元 DataGridViewCell)
EditType

セルのホストされる編集コントロールの型を取得します。

ErrorIconBounds

セルのエラー アイコンの境界を取得します。

(継承元 DataGridViewCell)
ErrorText

セルに関連付けられたエラー条件を記述するテキストを取得または設定します。

(継承元 DataGridViewCell)
FlatStyle

セルのフラット スタイルの外観を取得または設定します。

FormattedValue

表示用に書式指定済みのセル値を取得します。

(継承元 DataGridViewCell)
FormattedValueType

セルに関連付けられた書式指定済みの値のクラス型を取得します。

Frozen

セルが固定された状態かどうかを示す値を取得します。

(継承元 DataGridViewCell)
HasStyle

Style プロパティが設定されているかどうかを示す値を取得します。

(継承元 DataGridViewCell)
InheritedState

行と列の状態から継承されたセルの現在の状態を取得します。

(継承元 DataGridViewCell)
InheritedStyle

セルに現在適用されているスタイルを取得します。

(継承元 DataGridViewCell)
IsInEditMode

このセルが現在編集されているかどうかを示す値を取得します。

(継承元 DataGridViewCell)
Items

ドロップダウン リストに表示される選択項目を表すオブジェクトを取得します。

MaxDropDownItems

ドロップダウン リストに表示される項目の最大数を取得または設定します。

OwningColumn

セルを格納している列を取得します。

(継承元 DataGridViewCell)
OwningRow

セルを格納している行を取得します。

(継承元 DataGridViewCell)
PreferredSize

セルが収まる四角形領域のサイズをピクセル単位で取得します。

(継承元 DataGridViewCell)
ReadOnly

セルのデータを編集できるかどうかを示す値を取得または設定します。

(継承元 DataGridViewCell)
Resizable

セルのサイズを変更できるかどうかを示す値を取得します。

(継承元 DataGridViewCell)
RowIndex

セルの親行のインデックスを取得します。

(継承元 DataGridViewCell)
Selected

セルが選択されているかどうかを示す値を取得または設定します。

(継承元 DataGridViewCell)
Size

セルのサイズを取得します。

(継承元 DataGridViewCell)
Sorted

コンボ ボックス内の項目が自動的に並べ替えられるかどうかを示す値を取得または設定します。

State

要素のユーザー インターフェイス (UI) の状態を取得します。

(継承元 DataGridViewElement)
Style

セルのスタイルを取得または設定します。

(継承元 DataGridViewCell)
Tag

セルに関する補足的なデータを格納するオブジェクトを取得または設定します。

(継承元 DataGridViewCell)
ToolTipText

このセルに関連付けられているツールヒント テキストを取得または設定します。

(継承元 DataGridViewCell)
Value

このセルに関連付けられている値を取得または設定します。

(継承元 DataGridViewCell)
ValueMember

ドロップダウン リストで使用する基になる値の収集先を指定する文字列を取得または設定します。

ValueType

セル内の値のデータ型を取得または設定します。

Visible

非表示にされた行または列にセルが含まれるかどうかを示す値を取得します。

(継承元 DataGridViewCell)

メソッド

AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean)

指定した条件に従って、入力セルの境界線スタイルを変更します。

(継承元 DataGridViewCell)
BorderWidths(DataGridViewAdvancedBorderStyle)

すべてのセル マージンの幅を表す Rectangle を返します。

(継承元 DataGridViewCell)
ClickUnsharesRow(DataGridViewCellEventArgs)

セルがクリックされたときに、セルの行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
Clone()

対象のセルの同一コピーを作成します。

ContentClickUnsharesRow(DataGridViewCellEventArgs)

セルの内容がクリックされたときに、セルの行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs)

セルの内容がダブルクリックされたときに、セルの行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
CreateAccessibilityInstance()

この DataGridViewComboBoxCell インスタンスの新しい AccessibleObject を作成します。

CreateAccessibilityInstance()

DataGridViewCell の新しいユーザー補助オブジェクトを作成します。

(継承元 DataGridViewCell)
DetachEditingControl()

セルの編集コントロールを DataGridView から削除します。

Dispose()

DataGridViewCell によって使用されているすべてのリソースを解放します。

(継承元 DataGridViewCell)
Dispose(Boolean)

DataGridViewCell によって使用されているアンマネージド リソースを解放し、オプションでマネージド リソースも解放します。

(継承元 DataGridViewCell)
DoubleClickUnsharesRow(DataGridViewCellEventArgs)

セルがダブルクリックされたときに、セルの行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
EnterUnsharesRow(Int32, Boolean)

フォーカスがセルに移動したときに、親の行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
Equals(Object)

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

(継承元 Object)
GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String)

Clipboard にコピーするセルの書式指定済みの値を取得します。

(継承元 DataGridViewCell)
GetContentBounds(Graphics, DataGridViewCellStyle, Int32)

セルの内容領域に外接する四角形を返します。これは、指定された Graphics とセル スタイルを使って計算されます。

GetContentBounds(Int32)

既定の Graphics、およびセルに現在有効なセル スタイルを使用して、セルの内容領域を囲む外接する四角形を返します。

(継承元 DataGridViewCell)
GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts)

セルが編集モードであるかどうか、および値がコミットされているかどうかに関係なく、セルの現在の書式指定済みの値を返します。

(継承元 DataGridViewCell)
GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32)

セルのエラー アイコンが表示されている場合に、そのエラー アイコンを囲む外接する四角形を返します。

GetErrorText(Int32)

セルのエラーを表す文字列を返します。

(継承元 DataGridViewCell)
GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts)

セルのデータの書式指定済みの値を取得します。

GetHashCode()

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

(継承元 Object)
GetInheritedContextMenuStrip(Int32)

現在のセルの継承されたショートカット メニューを取得します。

(継承元 DataGridViewCell)
GetInheritedState(Int32)

行および列の状態から継承されたセルの現在の状態を示す値を返します。

(継承元 DataGridViewCell)
GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean)

セルに適用されるスタイルを取得します。

(継承元 DataGridViewCell)
GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size)

セルの推奨されるサイズをピクセル単位で計算します。

GetSize(Int32)

セルのサイズを取得します。

(継承元 DataGridViewCell)
GetType()

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

(継承元 Object)
GetValue(Int32)

セルの値を取得します。

(継承元 DataGridViewCell)
InitializeEditingControl(Int32, Object, DataGridViewCellStyle)

ホストされる編集コントロールを追加して初期化します。

KeyDownUnsharesRow(KeyEventArgs, Int32)

セルにフォーカスがある状態でキーを押したときに、親の行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
KeyEntersEditMode(KeyEventArgs)

押されたキーに基づいて編集モードを開始するかどうかを決定します。

KeyPressUnsharesRow(KeyPressEventArgs, Int32)

行内のセルにフォーカスがあるときにキーが押された場合に、行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
KeyUpUnsharesRow(KeyEventArgs, Int32)

セルにフォーカスがある状態でキーを離したときに、親の行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
LeaveUnsharesRow(Int32, Boolean)

フォーカスが行のセルを離れたときに、その行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
MemberwiseClone()

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

(継承元 Object)
MouseClickUnsharesRow(DataGridViewCellMouseEventArgs)

マウス ポインターを行のセルに置いた状態でマウス ボタンをクリックしたときに、その行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs)

行内のセルをダブルクリックした場合に、その行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)

マウス ポインターを行のセルに置いた状態でマウス ボタンを押したままにしたときに、その行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
MouseEnterUnsharesRow(Int32)

マウス ポインターを行のセル上に移動したときに行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
MouseLeaveUnsharesRow(Int32)

マウス ポインターを行から離したときに行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)

マウス ポインターを行のセル上に移動したときに行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
MouseUpUnsharesRow(DataGridViewCellMouseEventArgs)

マウス ポインターを行のセルに置いた状態でマウス ボタンを離したときに、その行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
OnClick(DataGridViewCellEventArgs)

セルがクリックされたときに呼び出されます。

(継承元 DataGridViewCell)
OnContentClick(DataGridViewCellEventArgs)

セルの内容がクリックされたときに呼び出されます。

(継承元 DataGridViewCell)
OnContentDoubleClick(DataGridViewCellEventArgs)

セルの内容がダブルクリックされたときに呼び出されます。

(継承元 DataGridViewCell)
OnDataGridViewChanged()

セルの DataGridView プロパティが変更された場合に発生します。

OnDoubleClick(DataGridViewCellEventArgs)

セルがダブルクリックされたときに呼び出されます。

(継承元 DataGridViewCell)
OnEnter(Int32, Boolean)

フォーカスがセルに移動するときに呼び出されます。

OnKeyDown(KeyEventArgs, Int32)

セルにフォーカスがある状態で文字キーが押されたときに呼び出されます。

(継承元 DataGridViewCell)
OnKeyPress(KeyPressEventArgs, Int32)

セルにフォーカスがある状態でキーが押されたときに呼び出されます。

(継承元 DataGridViewCell)
OnKeyUp(KeyEventArgs, Int32)

セルにフォーカスがある状態で文字キーを離したときに呼び出されます。

(継承元 DataGridViewCell)
OnLeave(Int32, Boolean)

フォーカスがセルから離れるときに呼び出されます。

OnMouseClick(DataGridViewCellMouseEventArgs)

マウス ポインターがセル上にあるときにマウス ボタンをクリックすると呼び出されます。

OnMouseDoubleClick(DataGridViewCellMouseEventArgs)

マウス ポインターがセル上にあるときにマウス ボタンをダブルクリックすると呼び出されます。

(継承元 DataGridViewCell)
OnMouseDown(DataGridViewCellMouseEventArgs)

マウス ポインターがセル上にあるときにマウス ボタンを押したままにすると呼び出されます。

(継承元 DataGridViewCell)
OnMouseEnter(Int32)

マウス ポインターがセル上を移動すると呼び出されます。

OnMouseLeave(Int32)

マウス ポインターをセルから離すと呼び出されます。

OnMouseMove(DataGridViewCellMouseEventArgs)

マウス ポインターがセル内で移動すると呼び出されます。

OnMouseUp(DataGridViewCellMouseEventArgs)

マウス ポインターがセル上にあるときにマウス ボタンを離すと呼び出されます。

(継承元 DataGridViewCell)
Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts)

現在の DataGridViewComboBoxCell を描画します。

PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle)

現在の DataGridViewCell の境界線を描画します。

(継承元 DataGridViewCell)
PaintErrorIcon(Graphics, Rectangle, Rectangle, String)

現在の DataGridViewCell のエラー アイコンを描画します。

(継承元 DataGridViewCell)
ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter)

表示用に書式設定された値を、実際のセル値に変換します。

PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean)

DataGridView コントロールのセルによってホストされる編集コントロールの位置とサイズを設定します。

(継承元 DataGridViewCell)
PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean)

セルによってホストされる編集パネルの位置とサイズを設定し、編集パネル内の編集コントロールの標準の境界を返します。

(継承元 DataGridViewCell)
RaiseCellClick(DataGridViewCellEventArgs)

CellClick イベントを発生させます。

(継承元 DataGridViewElement)
RaiseCellContentClick(DataGridViewCellEventArgs)

CellContentClick イベントを発生させます。

(継承元 DataGridViewElement)
RaiseCellContentDoubleClick(DataGridViewCellEventArgs)

CellContentDoubleClick イベントを発生させます。

(継承元 DataGridViewElement)
RaiseCellValueChanged(DataGridViewCellEventArgs)

CellValueChanged イベントを発生させます。

(継承元 DataGridViewElement)
RaiseDataError(DataGridViewDataErrorEventArgs)

DataError イベントを発生させます。

(継承元 DataGridViewElement)
RaiseMouseWheel(MouseEventArgs)

MouseWheel イベントを発生させます。

(継承元 DataGridViewElement)
SetValue(Int32, Object)

セルの値を設定します。

(継承元 DataGridViewCell)
ToString()

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

適用対象

こちらもご覧ください