C# Класс System.Windows.Controls.ItemContainerGenerator

Наследование: System.Windows.Controls.Primitives.IRecyclingItemContainerGenerator, System.Windows.Controls.Primitives.IItemContainerGenerator, System.Windows.IWeakEventListener
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GenerateNext DependencyObject
GetItemContainerGeneratorForPanel ItemContainerGenerator
IItemContainerGenerator DependencyObject
IItemContainerGenerator IDisposable
IItemContainerGenerator ItemContainerGenerator
ItemContainerGenerator System
OnOwnerItemsItemsChanged void
PrepareItemContainer void
Recycle void
Remove void
RemoveAll void
StartAt IDisposable

Открытые методы

Метод Описание
CheckOffsetAndRealized ( GeneratorPosition position, int count ) : void
ContainerFromIndex ( int index ) : DependencyObject
ContainerFromItem ( object item ) : DependencyObject
GeneratorPositionFromIndex ( int itemIndex ) : GeneratorPosition
IItemContainerGenerator ( ) : void
IItemContainerGenerator ( DependencyObject container ) : void
IItemContainerGenerator ( GeneratorPosition position, int count ) : void
IRecyclingItemContainerGenerator ( GeneratorPosition position, int count ) : void
IndexFromContainer ( DependencyObject container ) : int
IndexFromGeneratorPosition ( GeneratorPosition position ) : int
ItemFromContainer ( DependencyObject container ) : object
MoveExistingItems ( int index, int offset ) : void

Приватные методы

Метод Описание
GenerateNext ( bool &isNewlyRealized ) : DependencyObject
GetItemContainerGeneratorForPanel ( System.Windows.Controls.Panel panel ) : ItemContainerGenerator
IItemContainerGenerator ( bool &isNewlyRealized ) : DependencyObject
IItemContainerGenerator ( GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem ) : IDisposable
IItemContainerGenerator ( System.Windows.Controls.Panel panel ) : ItemContainerGenerator
ItemContainerGenerator ( ItemsControl owner ) : System
OnOwnerItemsItemsChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
PrepareItemContainer ( DependencyObject container ) : void
Recycle ( GeneratorPosition position, int count ) : void
Remove ( GeneratorPosition position, int count ) : void
RemoveAll ( ) : void
StartAt ( GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem ) : IDisposable

Описание методов

CheckOffsetAndRealized() публичный Метод

public CheckOffsetAndRealized ( GeneratorPosition position, int count ) : void
position GeneratorPosition
count int
Результат void

ContainerFromIndex() публичный Метод

public ContainerFromIndex ( int index ) : DependencyObject
index int
Результат DependencyObject

ContainerFromItem() публичный Метод

public ContainerFromItem ( object item ) : DependencyObject
item object
Результат DependencyObject

GeneratorPositionFromIndex() публичный Метод

public GeneratorPositionFromIndex ( int itemIndex ) : GeneratorPosition
itemIndex int
Результат GeneratorPosition

IItemContainerGenerator() публичный Метод

public IItemContainerGenerator ( ) : void
Результат void

IItemContainerGenerator() публичный Метод

public IItemContainerGenerator ( DependencyObject container ) : void
container DependencyObject
Результат void

IItemContainerGenerator() публичный Метод

public IItemContainerGenerator ( GeneratorPosition position, int count ) : void
position GeneratorPosition
count int
Результат void

IRecyclingItemContainerGenerator() публичный Метод

public IRecyclingItemContainerGenerator ( GeneratorPosition position, int count ) : void
position GeneratorPosition
count int
Результат void

IndexFromContainer() публичный Метод

public IndexFromContainer ( DependencyObject container ) : int
container DependencyObject
Результат int

IndexFromGeneratorPosition() публичный Метод

public IndexFromGeneratorPosition ( GeneratorPosition position ) : int
position GeneratorPosition
Результат int

ItemFromContainer() публичный Метод

public ItemFromContainer ( DependencyObject container ) : object
container DependencyObject
Результат object

MoveExistingItems() публичный Метод

public MoveExistingItems ( int index, int offset ) : void
index int
offset int
Результат void