C# Class TheAirline.GUIModel.CustomControlsModel.FilterableListView.FilterableListView

Inheritance: TheAirline.GUIModel.CustomControlsModel.FilterableListView.SortableListView
Mostrar archivo Open project: TheAirlineProject/tap-desktop

Public Properties

Property Type Description
FilterButtonActiveStyleProperty System.Windows.DependencyProperty
FilterButtonInactiveStyleProperty System.Windows.DependencyProperty
ShowFilter ICommand

Public Methods

Method Description
FilterableListView ( ) : System
OnApplyTemplate ( ) : void
getCurrentFilters ( ) : Hashtable
setCurrentFilters ( Hashtable filters ) : void

Protected Methods

Method Description
OnInitialized ( EventArgs e ) : void

Private Methods

Method Description
AddFilter ( String property, FilterItem value, System.Windows.Controls.Button button ) : void
AddFilter ( String property, FilterValue value, System.Windows.Controls.Button button ) : void
AddFilters ( String property, FilterItem values, System.Windows.Controls.Button button ) : void
ApplyCurrentFilters ( ) : void

Applies the current filter to the list which is being viewed

IsPropertyFiltered ( String property ) : bool
SelectionChangedHandler ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Handles the selection change event from the filter popup

ShowFilterCommand ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

Handles the ShowFilter command to populate the filter list and display the popup

btnCancel_Click ( object sender, RoutedEventArgs e ) : void

Handles the button click on the cancel button

btnFixedOk_Click ( object sender, RoutedEventArgs e ) : void

Handles the button click on the ok button for filtered

btnOk_Click ( object sender, RoutedEventArgs e ) : void

Handles the button click on the ok button

getPropertyValue ( object obj, string propertyName ) : object

Method Details

FilterableListView() public method

public FilterableListView ( ) : System
return System

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnInitialized() protected method

protected OnInitialized ( EventArgs e ) : void
e System.EventArgs
return void

getCurrentFilters() public method

public getCurrentFilters ( ) : Hashtable
return System.Collections.Hashtable

setCurrentFilters() public method

public setCurrentFilters ( Hashtable filters ) : void
filters System.Collections.Hashtable
return void

Property Details

FilterButtonActiveStyleProperty public_oe static_oe property

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

FilterButtonInactiveStyleProperty public_oe static_oe property

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

ShowFilter public_oe static_oe property

public static ICommand ShowFilter
return ICommand