ArcFM Solution Developer Guide
GetPreferredSize(Graphics,DataGridViewCellStyle,Int32,Size) Method


Syntax
'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 TreeGridViewTextBoxCell
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
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

TreeGridViewTextBoxCell Class
TreeGridViewTextBoxCell Members

 

 


Send Comment