FlexPivot for WinForms
AutoSizeCol(Int32,Int32) メソッド

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス > AutoSizeCol メソッド : AutoSizeCol(Int32,Int32) メソッド
Column index.
Amount of extra space, in pixels, to add to the column widths.
Adjusts the width of a column to fit the data.
シンタックス
'宣言
 
Public Overloads Overridable Sub AutoSizeCol( _
   ByVal col As System.Integer, _
   ByVal extraSpace As System.Integer _
) 
public virtual void AutoSizeCol( 
   System.int col,
   System.int extraSpace
)

パラメータ

col
Column index.
extraSpace
Amount of extra space, in pixels, to add to the column widths.
解説
This method measures every cell in the column, taking into account the cell contents and style. If the grid has a large number of rows, consider using the AutoSizeCols(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) method instead, because it allows you to specify a smaller set of rows and columns to measure.
参照

C1FlexGridBase クラス
C1FlexGridBase メンバ
オーバーロード一覧