DataGridViewCell.ContentBounds プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

セルの内容領域に外接する Rectangle。


返される四角形が、クライアント座標 (ピクセル単位) を報告します。
このプロパティは、GetContentBounds メソッドを呼び出してその値を取得します。基本型の DataGridViewCell では、この値は Empty です。
セルの内容ではなくセルの外接する四角形を取得するには、DataGridView.GetCellDisplayRectangle メソッドを使用します。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


DataGridViewCell クラス
DataGridViewCell メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridView.GetCellDisplayRectangle
GetContentBounds
Size
PreferredSize
Rectangle.Empty
Weblioに収録されているすべての辞書からDataGridViewCell.ContentBounds プロパティを検索する場合は、下記のリンクをクリックしてください。

- DataGridViewCell.ContentBounds プロパティのページへのリンク