DataGridView.GetRowDisplayRectangle(Int32, Boolean) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
行インデックスによって決定される行の表示領域を表す四角形を返します。
public:
System::Drawing::Rectangle GetRowDisplayRectangle(int rowIndex, bool cutOverflow);
public System.Drawing.Rectangle GetRowDisplayRectangle(int rowIndex, bool cutOverflow);
member this.GetRowDisplayRectangle : int * bool -> System.Drawing.Rectangle
Public Function GetRowDisplayRectangle (rowIndex As Integer, cutOverflow As Boolean) As Rectangle
パラメーター
- rowIndex
- Int32
目的のセルの行インデックス。
- cutOverflow
- Boolean
true
DataGridView境界に表示されている行の四角形を返す場合は。行の四角形全体を返false。
返品
行の表示四角形を表す Rectangle 。
例外
rowIndex が 0 から行数から 1 を引いた有効な範囲にありません。