DataGridView.OnCellFormatting メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridView.OnCellFormatting メソッドの意味・解説 

DataGridView.OnCellFormatting メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

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

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

Protected Overridable Sub
 OnCellFormatting ( _
    e As DataGridViewCellFormattingEventArgs _
)
Dim e As DataGridViewCellFormattingEventArgs

Me.OnCellFormatting(e)
protected virtual void OnCellFormatting (
    DataGridViewCellFormattingEventArgs e
)
protected:
virtual void OnCellFormatting (
    DataGridViewCellFormattingEventArgs^ e
)
protected void OnCellFormatting (
    DataGridViewCellFormattingEventArgs e
)
protected function OnCellFormatting (
    e : DataGridViewCellFormattingEventArgs
)

パラメータ

e

イベント データを格納している DataGridViewCellFormattingEventArgs。

例外例外
例外の種類条件

ArgumentOutOfRangeException

e の ColumnIndex プロパティの値が、コントロール内の列数 - 1 を超えています。

または

e の RowIndex プロパティの値が、コントロール内の行数 - 1 を超えています。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「DataGridView.OnCellFormatting メソッド」の関連用語

DataGridView.OnCellFormatting メソッドのお隣キーワード
検索ランキング

   

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



DataGridView.OnCellFormatting メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS