Nevron.UI.WinForm.Controls Namespace / NDataGridViewExpandCollapseColumn Class / GetPreferredWidth Method


GetPreferredWidth Method (NDataGridViewExpandCollapseColumn)
Syntax
'Declaration
 
Public Overridable Function GetPreferredWidth( _
   ByVal autoSizeColumnMode As System.Windows.Forms.DataGridViewAutoSizeColumnMode, _
   ByVal fixedHeight As System.Boolean _
) As System.Integer
 
'Usage
 
Dim instance As NDataGridViewExpandCollapseColumn
Dim autoSizeColumnMode As System.Windows.Forms.DataGridViewAutoSizeColumnMode
Dim fixedHeight As System.Boolean
Dim value As System.Integer
 
value = instance.GetPreferredWidth(autoSizeColumnMode, fixedHeight)

Parameters

autoSizeColumnMode
fixedHeight
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also