Infragistics(R) NetAdvantage(R) Windows Forms
PerformAutoResize(PerformAutoSizeType,Boolean) Method
See Also  E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace > UltraGridColumn Class > PerformAutoResize Method : PerformAutoResize(PerformAutoSizeType,Boolean) Method

autoSizeType
Specifies if and which rows to base the auto-sizing of the column.
includeHeader
Specifies whether to include header caption width into the auto-size.
Resizes the column based on cell values in either currently visible rows or all rows depending on the value of autoSizeType argument.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub PerformAutoResize( _
   ByVal autoSizeType As PerformAutoSizeType, _
   ByVal includeHeader As Boolean _
) 
C# 
public void PerformAutoResize( 
   PerformAutoSizeType autoSizeType,
   bool includeHeader
)

Parameters

autoSizeType
Specifies if and which rows to base the auto-sizing of the column.
includeHeader
Specifies whether to include header caption width into the auto-size.

See Also