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

Inheritance: TheAirline.GUIModel.CustomControlsModel.FilterableListView.SortableListView
Afficher le fichier Open project: TheAirlineProject/tap-desktop

Méthodes publiques

Свойство Type Description
FilterButtonActiveStyleProperty System.Windows.DependencyProperty
FilterButtonInactiveStyleProperty System.Windows.DependencyProperty
ShowFilter ICommand

Méthodes publiques

Méthode Description
FilterableListView ( ) : System
OnApplyTemplate ( ) : void
getCurrentFilters ( ) : Hashtable
setCurrentFilters ( Hashtable filters ) : void

Méthodes protégées

Méthode Description
OnInitialized ( EventArgs e ) : void

Private Methods

Méthode 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 méthode

public FilterableListView ( ) : System
Résultat System

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnInitialized() protected méthode

protected OnInitialized ( EventArgs e ) : void
e System.EventArgs
Résultat void

getCurrentFilters() public méthode

public getCurrentFilters ( ) : Hashtable
Résultat System.Collections.Hashtable

setCurrentFilters() public méthode

public setCurrentFilters ( Hashtable filters ) : void
filters System.Collections.Hashtable
Résultat void

Property Details

FilterButtonActiveStyleProperty public_oe static_oe property

public static DependencyProperty,System.Windows FilterButtonActiveStyleProperty
Résultat System.Windows.DependencyProperty

FilterButtonInactiveStyleProperty public_oe static_oe property

public static DependencyProperty,System.Windows FilterButtonInactiveStyleProperty
Résultat System.Windows.DependencyProperty

ShowFilter public_oe static_oe property

public static ICommand ShowFilter
Résultat ICommand