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

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

DataGridViewCell.GetErrorIconBounds メソッド

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

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

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

Protected Overridable Function
 GetErrorIconBounds ( _
    graphics As Graphics, _
    cellStyle As DataGridViewCellStyle, _
    rowIndex As Integer _
) As Rectangle
Dim graphics As Graphics
Dim cellStyle As DataGridViewCellStyle
Dim rowIndex As Integer
Dim returnValue As Rectangle

returnValue = Me.GetErrorIconBounds(graphics, cellStyle, rowIndex)
protected virtual Rectangle GetErrorIconBounds (
    Graphics graphics,
    DataGridViewCellStyle cellStyle,
    int rowIndex
)
protected:
virtual Rectangle GetErrorIconBounds (
    Graphics^ graphics, 
    DataGridViewCellStyle^ cellStyle, 
    int rowIndex
)
protected Rectangle GetErrorIconBounds (
    Graphics graphics, 
    DataGridViewCellStyle cellStyle, 
    int rowIndex
)
protected function GetErrorIconBounds (
    graphics : Graphics, 
    cellStyle : DataGridViewCellStyle, 
    rowIndex : int
) : Rectangle

パラメータ

graphics

セルのグラフィックス コンテキスト。

cellStyle

セルに適用される DataGridViewCellStyle。

rowIndex

セルの親行のインデックス。

戻り値
セルのエラー アイコンが表示されている場合は、そのエラー アイコンに外接する Rectangle。エラー アイコンが表示されていない場合は Empty。

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「DataGridViewCell.GetErrorIconBounds メソッド」の関連用語

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

   

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



DataGridViewCell.GetErrorIconBounds メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS