C# 클래스 Microsoft.VisualStudio.R.Package.DataInspect.SortOrder

Describes sorting set in details grid
상속: ISortOrder
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
Add ( ColumnSortOrder order ) : void
Add ( HeaderTextVisual v ) : void

Adds column to the sorting order. Typically called when user Shift+Click on the column header adding it to the set. If the column is already in the set, the call does nothing.

GetRowSelector ( ) : string Complete expression looks like: function(x) order(x[,col_idx1], -x[,col_idx1], ...) where minus tells R that the column sort order is descending rather than ascending.
ResetTo ( HeaderTextVisual v ) : void

Resets sort to one column assuming default (ascending) order. Typically called as a result of click on one of the column headers which clears current sort across all columns and sets the clicked column as primary with the default sorting order.

메소드 상세

Add() 공개 메소드

public Add ( ColumnSortOrder order ) : void
order ColumnSortOrder
리턴 void

Add() 공개 메소드

Adds column to the sorting order. Typically called when user Shift+Click on the column header adding it to the set. If the column is already in the set, the call does nothing.
public Add ( HeaderTextVisual v ) : void
v HeaderTextVisual
리턴 void

GetRowSelector() 공개 메소드

Complete expression looks like: function(x) order(x[,col_idx1], -x[,col_idx1], ...) where minus tells R that the column sort order is descending rather than ascending.
public GetRowSelector ( ) : string
리턴 string

ResetTo() 공개 메소드

Resets sort to one column assuming default (ascending) order. Typically called as a result of click on one of the column headers which clears current sort across all columns and sets the clicked column as primary with the default sorting order.
public ResetTo ( HeaderTextVisual v ) : void
v HeaderTextVisual
리턴 void