# DataGridViewZoomPolicy

TouchToolKit provides DataGridViewZoomPolicy to get a better zoom result for DataGridView. It can zoom the Size and Font for all Columns, Rows, or Cells.  If your C1DataGridView control has many rows and you try to change the default value for the

## Content



TouchToolKit provides DataGridViewZoomPolicy to get a better zoom result for DataGridView. It can zoom the Size and Font for all Columns, Rows, or Cells.

If your C1DataGridView control has many rows and you try to change the default value for the rows or cells it may causes a performance problem. To advoid this, you can try to change **DataGridViewZoomPolicy.ZoomRowHeight** or **DataGridViewZoomPolicy.ZoomCellStyleFont** property value to **False**.

If you add new rows to the **DataGridView** control in code, use the **C1Zoom.BeginAddControls** and **C1Zoom.EndAddControls** method.