C# Class YALV.Common.FilteredGridManagerBase

Inheritance: DisposableObject
Afficher le fichier Open project: LukePet/YALV

Méthodes publiques

Свойство Type Description
OnAfterCheckFilter Func
OnBeforeCheckFilter bool>.Func

Protected Properties

Свойство Type Description
_cvs System.Windows.Data.CollectionViewSource
_dg System.Windows.Controls.DataGrid
_filterPropertyList IList
_keyUpEvent KeyEventHandler
_txtCache System.Collections.Hashtable
_txtSearchPanel System.Windows.Controls.Panel

Méthodes publiques

Méthode Description
AssignSource ( Binding sourceBind ) : void
ClearCache ( ) : void
FilteredGridManagerBase ( System.Windows.Controls.DataGrid dg, System.Windows.Controls.Panel txtSearchPanel, KeyEventHandler keyUpEvent ) : System
GetCollectionView ( ) : ICollectionView
ResetSearchTextBox ( ) : void

Méthodes protégées

Méthode Description
OnDispose ( ) : void
getItemValue ( object item, string prop ) : object
getTextBoxName ( string prop ) : string
itemCheckFilter ( object item ) : bool

Method Details

AssignSource() public méthode

public AssignSource ( Binding sourceBind ) : void
sourceBind System.Windows.Data.Binding
Résultat void

ClearCache() public méthode

public ClearCache ( ) : void
Résultat void

FilteredGridManagerBase() public méthode

public FilteredGridManagerBase ( System.Windows.Controls.DataGrid dg, System.Windows.Controls.Panel txtSearchPanel, KeyEventHandler keyUpEvent ) : System
dg System.Windows.Controls.DataGrid
txtSearchPanel System.Windows.Controls.Panel
keyUpEvent KeyEventHandler
Résultat System

GetCollectionView() public méthode

public GetCollectionView ( ) : ICollectionView
Résultat ICollectionView

OnDispose() protected méthode

protected OnDispose ( ) : void
Résultat void

ResetSearchTextBox() public méthode

public ResetSearchTextBox ( ) : void
Résultat void

getItemValue() protected méthode

protected getItemValue ( object item, string prop ) : object
item object
prop string
Résultat object

getTextBoxName() protected méthode

protected getTextBoxName ( string prop ) : string
prop string
Résultat string

itemCheckFilter() protected méthode

protected itemCheckFilter ( object item ) : bool
item object
Résultat bool

Property Details

OnAfterCheckFilter public_oe property

public Func OnAfterCheckFilter
Résultat Func

OnBeforeCheckFilter public_oe property

public Func OnBeforeCheckFilter
Résultat bool>.Func

_cvs protected_oe property

protected CollectionViewSource,System.Windows.Data _cvs
Résultat System.Windows.Data.CollectionViewSource

_dg protected_oe property

protected DataGrid,System.Windows.Controls _dg
Résultat System.Windows.Controls.DataGrid

_filterPropertyList protected_oe property

protected IList _filterPropertyList
Résultat IList

_keyUpEvent protected_oe property

protected KeyEventHandler _keyUpEvent
Résultat KeyEventHandler

_txtCache protected_oe property

protected Hashtable,System.Collections _txtCache
Résultat System.Collections.Hashtable

_txtSearchPanel protected_oe property

protected Panel,System.Windows.Controls _txtSearchPanel
Résultat System.Windows.Controls.Panel