C# Class Quasar.ItemContainerManager

Show file Open project: indexzero/quasar

Public Methods

Method Description
AddContainer ( DependencyObject container, object item ) : void
ContainerFromIndex ( int index ) : DependencyObject
ContainerFromItem ( object item ) : DependencyObject
GetContainerList ( ) : ReadOnlyCollection
IndexFromContainer ( DependencyObject container ) : int
IsFirstContainer ( DependencyObject container ) : bool
IsLastContainer ( DependencyObject container ) : bool
ItemContainerManager ( ItemsControl itemsControl ) : System
ItemFromContainer ( DependencyObject container ) : object
OnItemsChanged ( NotifyCollectionChangedEventArgs args ) : void

Private Methods

Method Description
RemoveItems ( IList items ) : void

Method Details

AddContainer() public method

public AddContainer ( DependencyObject container, object item ) : void
container System.Windows.DependencyObject
item object
return void

ContainerFromIndex() public method

public ContainerFromIndex ( int index ) : DependencyObject
index int
return System.Windows.DependencyObject

ContainerFromItem() public method

public ContainerFromItem ( object item ) : DependencyObject
item object
return System.Windows.DependencyObject

GetContainerList() public method

public GetContainerList ( ) : ReadOnlyCollection
return ReadOnlyCollection

IndexFromContainer() public method

public IndexFromContainer ( DependencyObject container ) : int
container System.Windows.DependencyObject
return int

IsFirstContainer() public method

public IsFirstContainer ( DependencyObject container ) : bool
container System.Windows.DependencyObject
return bool

IsLastContainer() public method

public IsLastContainer ( DependencyObject container ) : bool
container System.Windows.DependencyObject
return bool

ItemContainerManager() public method

public ItemContainerManager ( ItemsControl itemsControl ) : System
itemsControl System.Windows.Controls.ItemsControl
return System

ItemFromContainer() public method

public ItemFromContainer ( DependencyObject container ) : object
container System.Windows.DependencyObject
return object

OnItemsChanged() public method

public OnItemsChanged ( NotifyCollectionChangedEventArgs args ) : void
args System.Collections.Specialized.NotifyCollectionChangedEventArgs
return void