C# Class uguimvvm.ItemsControl

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: jbruening/ugui-mvvm

Protected Properties

Свойство Type Description
_items List

Méthodes protégées

Méthode Description
CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnItemAdded ( ItemInfo info ) : void

After an item is added to the controls

OnItemRemoved ( ItemInfo info ) : void

After an item is removed from controls

OnItemsSourceChanged ( ) : void

Fired after the controls have re-created, before the ItemsSourceChanged event is invoked

Private Methods

Méthode Description
AddItems ( IEnumerable newItems ) : void
Awake ( ) : void
OnDestroy ( ) : void
RemoveAt ( int idx ) : void
RemoveItems ( IEnumerable oldItems ) : void
ResetBindings ( IEnumerable oldvalue, IEnumerable newvalue ) : void
ResetCollection ( ) : void

Method Details

CollectionChanged() protected méthode

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

OnItemAdded() protected méthode

After an item is added to the controls
protected OnItemAdded ( ItemInfo info ) : void
info ItemInfo
Résultat void

OnItemRemoved() protected méthode

After an item is removed from controls
protected OnItemRemoved ( ItemInfo info ) : void
info ItemInfo
Résultat void

OnItemsSourceChanged() protected méthode

Fired after the controls have re-created, before the ItemsSourceChanged event is invoked
protected OnItemsSourceChanged ( ) : void
Résultat void

Property Details

_items protected_oe property

protected List _items
Résultat List