DataGridViewCell.GetSize(Int32) Metoda

Definice

Získá velikost buňky.

protected:
 virtual System::Drawing::Size GetSize(int rowIndex);
protected virtual System.Drawing.Size GetSize (int rowIndex);
abstract member GetSize : int -> System.Drawing.Size
override this.GetSize : int -> System.Drawing.Size
Protected Overridable Function GetSize (rowIndex As Integer) As Size

Parametry

rowIndex
Int32

Index nadřazeného řádku buňky

Návraty

Size

A Size představující rozměry buňky.

Výjimky

rowIndex je -1

Poznámky

Tuto metodu nelze použít s buňkou ve sdíleném řádku.

Platí pro

Viz také