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

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス > Sort メソッド : Sort(Int32,Int32,IComparer) メソッド
First row in the sort range.
Number of rows in the sort range.
An System.Collections.IComparer object that compares Row objects.
Sorts a group of rows using the specified comparer.
シンタックス
'宣言
 
Public Overloads Overridable Sub Sort( _
   ByVal rowStart As System.Integer, _
   ByVal rowCount As System.Integer, _
   ByVal comparer As System.Collections.IComparer _
) 
public virtual void Sort( 
   System.int rowStart,
   System.int rowCount,
   System.Collections.IComparer comparer
)

パラメータ

rowStart
First row in the sort range.
rowCount
Number of rows in the sort range.
comparer
An System.Collections.IComparer object that compares Row objects.
解説

The System.Collections.IComparer interface has a single method called System.Collections.IComparer.Compare(System.Object,System.Object) that takes two objects as arguments (in this case, they will be Row objects) and returns -1, 0, or +1. For more details, see the documentation for System.Collections.IComparer.

Custom sorting can only be used when the grid is in unbound mode.

参照

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