FlexGrid for UWP/WinRT
AutoSizeColumns(Int32,Int32,Double,Boolean,Boolean) メソッド

サイズ変更する最初の列のインデックス。
サイズ変更する最後の列のインデックス。
列に追加する付加部分の幅(ピクセル単位)。
現在表示されていないセルを含むすべてのセルを測定するかどうか。
スターサイズの列をスキップするかどうか。
列範囲をコンテンツに合わせてサイズ変更します。
構文
'宣言
 
Public Overloads Sub AutoSizeColumns( _
   ByVal startCol As System.Integer, _
   ByVal endCol As System.Integer, _
   ByVal extra As System.Double, _
   ByVal allCells As System.Boolean, _
   ByVal skipStars As System.Boolean _
) 
public void AutoSizeColumns( 
   System.int startCol,
   System.int endCol,
   System.double extra,
   System.bool allCells,
   System.bool skipStars
)

パラメータ

startCol
サイズ変更する最初の列のインデックス。
endCol
サイズ変更する最後の列のインデックス。
extra
列に追加する付加部分の幅(ピクセル単位)。
allCells
現在表示されていないセルを含むすべてのセルを測定するかどうか。
skipStars
スターサイズの列をスキップするかどうか。
解説
allCells パラメータを true に設定すると、現在表示されていない行と列を含むグリッドコンテンツ全体のセル要素を作成して測定します。グリッドに大量のデータが含まれる場合、このオプションは非常に時間がかかることがあります。
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

参照

関連項目

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

Send Feedback