C# 클래스 ZForge.Controls.XPTable.Sorting.TextComparer

An IComparer for sorting Cells that contain strings
상속: ComparerBase
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 메소드들

메소드 설명
TextComparer ( TableModel tableModel, int column, SortOrder sortOrder ) : System

Initializes a new instance of the TextComparer class with the specified TableModel, Column index and SortOrder

보호된 메소드들

메소드 설명
CompareCells ( Cell cell1, Cell cell2 ) : int

Compares two cells and returns a value indicating whether one is less than, equal to or greater than the other.

메소드 상세

CompareCells() 보호된 메소드

Compares two cells and returns a value indicating whether one is less than, equal to or greater than the other.
protected CompareCells ( Cell cell1, Cell cell2 ) : int
cell1 ZForge.Controls.XPTable.Models.Cell
cell2 ZForge.Controls.XPTable.Models.Cell
리턴 int

TextComparer() 공개 메소드

Initializes a new instance of the TextComparer class with the specified TableModel, Column index and SortOrder
public TextComparer ( TableModel tableModel, int column, SortOrder sortOrder ) : System
tableModel ZForge.Controls.XPTable.Models.TableModel The TableModel that contains the data to be sorted
column int The index of the Column to be sorted
sortOrder SortOrder Specifies how the Column is to be sorted
리턴 System