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

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

DataGridView.GetCellDisplayRectangle メソッド

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

セル表示領域を表す四角形返します

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

Public Function GetCellDisplayRectangle ( _
    columnIndex As Integer, _
    rowIndex As Integer, _
    cutOverflow As Boolean _
) As Rectangle
Dim instance As DataGridView
Dim columnIndex As Integer
Dim rowIndex As Integer
Dim cutOverflow As Boolean
Dim returnValue As Rectangle

returnValue = instance.GetCellDisplayRectangle(columnIndex, rowIndex, cutOverflow)
public Rectangle GetCellDisplayRectangle (
    int columnIndex,
    int rowIndex,
    bool cutOverflow
)
public:
Rectangle GetCellDisplayRectangle (
    int columnIndex, 
    int rowIndex, 
    bool cutOverflow
)
public Rectangle GetCellDisplayRectangle (
    int columnIndex, 
    int rowIndex, 
    boolean cutOverflow
)
public function GetCellDisplayRectangle (
    columnIndex : int, 
    rowIndex : int, 
    cutOverflow : boolean
) : Rectangle

パラメータ

columnIndex

目的セルの列インデックス

rowIndex

目的セルの行インデックス

cutOverflow

セル表示部分だけを取得する場合trueセル境界全体取得する場合false

戻り値
セル表示領域四角形を表す Rectangle

例外例外
例外種類条件

ArgumentOutOfRangeException

columnIndex が -1 未満か、コントロールの列数 -1 を上回ってます。

または

rowIndex が -1 未満か、コントロール行数 -1 を上回ってます。

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


このページでは「.NET Framework クラス ライブラリ リファレンス」からDataGridView.GetCellDisplayRectangle メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDataGridView.GetCellDisplayRectangle メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDataGridView.GetCellDisplayRectangle メソッド を検索

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

辞書ショートカット

すべての辞書の索引

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

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

   

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



DataGridView.GetCellDisplayRectangle メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS