DataGridViewRowCollection.GetRowsHeight(DataGridViewElementStates) Metoda

Definicja

Zwraca skumulowaną wysokość DataGridViewRow obiektów spełniających określone kryteria.

public:
 int GetRowsHeight(System::Windows::Forms::DataGridViewElementStates includeFilter);
public int GetRowsHeight (System.Windows.Forms.DataGridViewElementStates includeFilter);
member this.GetRowsHeight : System.Windows.Forms.DataGridViewElementStates -> int
Public Function GetRowsHeight (includeFilter As DataGridViewElementStates) As Integer

Parametry

includeFilter
DataGridViewElementStates

Bitowa kombinacja DataGridViewElementStates wartości.

Zwraca

Int32

Skumulowana wysokość DataGridViewRow obiektów w obiekcie DataGridViewRowCollection , które mają atrybuty określone przez includeFilter.

Wyjątki

includeFilter nie jest prawidłową kombinacją bitów DataGridViewElementStates wartości.

Dotyczy

Zobacz też