IDataGridViewEditingCellとは? わかりやすく解説

IDataGridViewEditingCell インターフェイス

メモ : このインターフェイスは、.NET Framework version 2.0新しく追加されたものです。

値を操作できるようにするセルに、共通の機能定義します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Interface IDataGridViewEditingCell
Dim instance As IDataGridViewEditingCell
public interface IDataGridViewEditingCell
public interface class IDataGridViewEditingCell
public interface IDataGridViewEditingCell
public interface IDataGridViewEditingCell
解説解説

このインターフェイスは、DataGridViewCell から派生し編集コントロールホストせずに値を指定するユーザー インターフェイス (UI) を提供する、DataGridViewCheckBoxCell などのクラスによって実装されます。この場合UIセル編集モードかどうかに関係なく表示されます。

DataGridViewButtonCell などのその他のセル型も UI提供しますが、ユーザー指定の値は格納しません。この場合セル型は IDataGridViewEditingCell実装したり、編集コントロールホストしたりしません。

DataGridViewTextBoxCell など、セル編集モードのときに編集コントロール表示するセル型は、IDataGridViewEditingCell実装するのではなく、IDataGridViewEditingControl を実装するコンパニオン クラス提供します。たとえば、DataGridViewTextBoxCell は、TextBox コントロールか派生しIDataGridViewEditingControl実装する DataGridViewTextBoxEditingControl を提供します。この場合セルの EditType プロパティは、編集コントロールの型を表す Type オブジェクト設定されます。IDataGridViewEditingControl実装方法については、「方法 : Windows フォーム DataGridView Cellsコントロールホストする」を参照してください

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IDataGridViewEditingCell メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewCell クラス
DataGridViewCheckBoxCell クラス
IDataGridViewEditingControl

IDataGridViewEditingCell プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ EditingCellFormattedValue セル書式指定済みの値を取得または設定します
パブリック プロパティ EditingCellValueChanged セルの値が変更されたかどうかを示す値を取得または設定します
参照参照

関連項目

IDataGridViewEditingCell インターフェイス
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewCell クラス
DataGridViewCheckBoxCell クラス
IDataGridViewEditingControl

IDataGridViewEditingCell メソッド


パブリック メソッドパブリック メソッド

  名前 説明
パブリック メソッド GetEditingCellFormattedValue セル書式設定された値を取得します
パブリック メソッド PrepareEditingCellForEdit 現在選択されているセル編集準備します
参照参照

関連項目

IDataGridViewEditingCell インターフェイス
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewCell クラス
DataGridViewCheckBoxCell クラス
IDataGridViewEditingControl

IDataGridViewEditingCell メンバ

値を操作できるようにするセルに、共通の機能定義します

IDataGridViewEditingCell データ型公開されるメンバを以下の表に示します


パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ EditingCellFormattedValue セル書式指定済みの値を取得または設定します
パブリック プロパティ EditingCellValueChanged セルの値が変更されたかどうかを示す値を取得または設定します
パブリック メソッドパブリック メソッド
  名前 説明
パブリック メソッド GetEditingCellFormattedValue セル書式設定された値を取得します
パブリック メソッド PrepareEditingCellForEdit 現在選択されているセル編集準備します
参照参照

関連項目

IDataGridViewEditingCell インターフェイス
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewCell クラス
DataGridViewCheckBoxCell クラス
IDataGridViewEditingControl



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「IDataGridViewEditingCell」の関連用語

IDataGridViewEditingCellのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IDataGridViewEditingCellのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS