'Declaration
Protected Overridable Function GetPreferredSize( _ ByVal graphics As System.Drawing.Graphics, _ ByVal cellStyle As System.Windows.Forms.DataGridViewCellStyle, _ ByVal rowIndex As System.Integer, _ ByVal constraintSize As System.Drawing.Size _ ) As System.Drawing.Size
'Usage
Dim instance As NDataGridViewProgressBarCell Dim graphics As System.Drawing.Graphics Dim cellStyle As System.Windows.Forms.DataGridViewCellStyle Dim rowIndex As System.Integer Dim constraintSize As System.Drawing.Size Dim value As System.Drawing.Size value = instance.GetPreferredSize(graphics, cellStyle, rowIndex, constraintSize)
protected virtual System.Drawing.Size GetPreferredSize( System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.int rowIndex, System.Drawing.Size constraintSize )
Parameters
- graphics
- cellStyle
- rowIndex
- constraintSize