C# Class uguimvvm.Primitives.Selector

Inheritance: ItemsControl
Afficher le fichier Open project: jbruening/ugui-mvvm

Méthodes protégées

Méthode Description
CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnItemsSourceChanged ( ) : void
OnSelectedChanged ( bool fromProperty ) : void

When Selected changes. fromProperty will be false if SetSelected was used to change the Selected object

SetSelected ( ItemInfo info ) : void
ValidateSelected ( ) : void

Ensure the selected object we have is still correct

Private Methods

Méthode Description
InternalSetSelected ( ItemInfo info, bool fromProperty ) : void

Method Details

CollectionChanged() protected méthode

protected CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
sender object
e NotifyCollectionChangedEventArgs
Résultat void

OnItemsSourceChanged() protected méthode

protected OnItemsSourceChanged ( ) : void
Résultat void

OnSelectedChanged() protected méthode

When Selected changes. fromProperty will be false if SetSelected was used to change the Selected object
protected OnSelectedChanged ( bool fromProperty ) : void
fromProperty bool
Résultat void

SetSelected() protected méthode

protected SetSelected ( ItemInfo info ) : void
info ItemInfo
Résultat void

ValidateSelected() protected méthode

Ensure the selected object we have is still correct
protected ValidateSelected ( ) : void
Résultat void