C# Class Zetbox.Client.WPF.Toolkit.WpfSortHelper

Inheritance: System.Windows.DependencyObject
Show file Open project: daszat/zetbox

Public Properties

Property Type Description
SortPropertyNameProperty System.Windows.DependencyProperty

Public Methods

Method Description
ApplyInitialSortTemplates ( DependencyObject column ) : void
ApplySort ( DependencyObject currentColum ) : void
GetSortPropertyName ( DependencyObject obj ) : string
SetSortPropertyName ( DependencyObject obj, string value ) : void
WpfSortHelper ( FrameworkElement parent, ISortableViewModel viewModel, DataTemplate>.Action setHeaderTemplate ) : System

Private Methods

Method Description
ApplyHeaderTemplate ( ) : void
_viewModel_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

ApplyInitialSortTemplates() public method

public ApplyInitialSortTemplates ( DependencyObject column ) : void
column System.Windows.DependencyObject
return void

ApplySort() public method

public ApplySort ( DependencyObject currentColum ) : void
currentColum System.Windows.DependencyObject
return void

GetSortPropertyName() public static method

public static GetSortPropertyName ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

SetSortPropertyName() public static method

public static SetSortPropertyName ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

WpfSortHelper() public method

public WpfSortHelper ( FrameworkElement parent, ISortableViewModel viewModel, DataTemplate>.Action setHeaderTemplate ) : System
parent System.Windows.FrameworkElement
viewModel ISortableViewModel
setHeaderTemplate DataTemplate>.Action
return System

Property Details

SortPropertyNameProperty public static property

public static DependencyProperty,System.Windows SortPropertyNameProperty
return System.Windows.DependencyProperty