DataGridColumnStyle::GetMinimumHeight Method ()
.NET Framework (current version)
When overridden in a derived class, gets the minimum height of a row.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example gets the minimum height of the column.
public ref class MyGridColumn: public DataGridBoolColumn { public: int GetMinHeight() { return this->GetMinimumHeight(); } }; public ref class Form1: public Form { protected: DataGrid^ dataGrid1; private: void GetHeight() { MyGridColumn^ myGridColumn = dynamic_cast<MyGridColumn^>(dataGrid1->TableStyles[ 1 ]->GridColumnStyles[ 0 ]); Console::WriteLine( myGridColumn->GetMinHeight() ); } };
.NET Framework
Available since 1.1
Available since 1.1
Show: