FlexPivot for WinForms
Sort(SortFlags,Int32,Int32) メソッド

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス > Sort メソッド : Sort(SortFlags,Int32,Int32) メソッド
SortFlags value that specifies the sort direction and options.
First column in the range.
Last column in the range.
Sorts the grid contents based on a column range.
シンタックス
'宣言
 
Public Overloads Overridable Sub Sort( _
   ByVal order As SortFlags, _
   ByVal col1 As System.Integer, _
   ByVal col2 As System.Integer _
) 
public virtual void Sort( 
   SortFlags order,
   System.int col1,
   System.int col2
)

パラメータ

order
SortFlags value that specifies the sort direction and options.
col1
First column in the range.
col2
Last column in the range.
解説

When you sort multiple columns, the same sorting options are applied to each column, starting from the leftmost column in the range and proceeding to the right.

To sort multiple columns using a different sorting order for each, you can either call the Sort(SortFlags,Int32) method multiple times or set each column's Column.Sort property and call the Sort(SortFlags,Int32) method including the SortFlags.UseColSort flag in the order parameter.

参照

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