FlexPivot for WinForms
AutoResize プロパティ (C1FlexGridBase)

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス : AutoResize プロパティ
Gets or sets whether column widths are automatically adjusted when data is loaded.
シンタックス
'宣言
 
Public Property AutoResize As System.Boolean
public System.bool AutoResize {get; set;}
解説

This property works when the control is bound to a DataSource.

If AutoResize is set to true, the control automatically resizes its columns to fit the widest entry every time new data is read from the data source.

If the data source contains a large number of rows and columns, the automatic resizing may take a relatively long time. In these cases, you should consider setting AutoResize to false and setting the column widths directly in code.

You may also use the AutoSizeCols(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) method to adjust the column widths automatically.

参照

C1FlexGridBase クラス
C1FlexGridBase メンバ