C# 클래스 ModernWPF.ListViewUI

Contains attached properties for a ListView.
파일 보기 프로젝트 열기: soukoku/ModernWPF 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SortCommandProperty System.Windows.DependencyProperty
SortDirectionProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
ClearSorts ( System.Windows.Controls.ListView listView ) : void

Used to manually clears any sort indicators in the GridView columns if it is set by this class.

GetSortCommand ( DependencyObject obj ) : ICommand

Gets the sort command.

GetSortDirection ( DependencyObject obj ) : ListSortDirection?

Gets the sort direction.

SetSortCommand ( DependencyObject obj, ICommand value ) : void

Sets the sort command.

SetSortDirection ( DependencyObject obj, ListSortDirection value ) : void

Sets the sort direction.

비공개 메소드들

메소드 설명
HandleHeaderClick ( object sender, RoutedEventArgs e ) : void
OnSortCommandPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

메소드 상세

ClearSorts() 공개 정적인 메소드

Used to manually clears any sort indicators in the GridView columns if it is set by this class.
public static ClearSorts ( System.Windows.Controls.ListView listView ) : void
listView System.Windows.Controls.ListView The list view.
리턴 void

GetSortCommand() 공개 정적인 메소드

Gets the sort command.
obj
public static GetSortCommand ( DependencyObject obj ) : ICommand
obj System.Windows.DependencyObject The object.
리턴 ICommand

GetSortDirection() 공개 정적인 메소드

Gets the sort direction.
obj
public static GetSortDirection ( DependencyObject obj ) : ListSortDirection?
obj System.Windows.DependencyObject The object.
리턴 ListSortDirection?

SetSortCommand() 공개 정적인 메소드

Sets the sort command.
obj
public static SetSortCommand ( DependencyObject obj, ICommand value ) : void
obj System.Windows.DependencyObject The object.
value ICommand The value.
리턴 void

SetSortDirection() 공개 정적인 메소드

Sets the sort direction.
obj
public static SetSortDirection ( DependencyObject obj, ListSortDirection value ) : void
obj System.Windows.DependencyObject The object.
value ListSortDirection The value.
리턴 void

프로퍼티 상세

SortCommandProperty 공개적으로 정적으로 프로퍼티

The sort command property on a ListView when clicking on the GridView view columns. The command parameter will be GridViewSortParameter.
public static DependencyProperty,System.Windows SortCommandProperty
리턴 System.Windows.DependencyProperty

SortDirectionProperty 공개적으로 정적으로 프로퍼티

The sort direction property on a GridViewColumnHeader.
public static DependencyProperty,System.Windows SortDirectionProperty
리턴 System.Windows.DependencyProperty