NoesisGUI

ItemContainerGenerator Class

Generates the user interface on behalf of its host, such as an ItemsControl.

http://msdn.microsoft.com/en-us/library/system.windows.controls.itemcontainergenerator.aspx

Inheritance Hierarchy

ItemContainerGenerator

INDEX Class Hierarchy Index

Methods

From ItemContainerGenerator

Name Description
ContainerFromIndex Returns the container corresponding to the item at the given index within the Items
ContainerFromItem Returns the container corresponding to the given item. Returns null if the item does not belong to the item collection, or if no container has been generated for it
GenerateNext Returns the container element used to display the next item
GenerateNext Returns the container element used to display the next item otherwise, false.
GeneratorPositionFromIndex Returns the GeneratorPosition object that maps to the item at the specified index
GetItemContainerGeneratorForPanel Return the ItemContainerGenerator appropriate for use by the given panel
IndexFromContainer Given a generated container, returns the index of the corresponding item within the Items
IndexFromGeneratorPosition Returns the index that maps to the specified GeneratorPosition
ItemFromContainer Returns the item corresponding to the given container. If the element was not generated as a container for this generator's host, the method returns DependencyProperty.UnsetValue
PrepareItemContainer Prepares the specified element as the container for the corresponding item
Recycle Recycle generated elements. Equivalent to Remove() except that the generator retains this container in a list. This container will be handed back in a future call to GenerateNext(). The position must refer to a previously generated item, which means its position offset must be 0. The parameter count is the number of elements to recycle, starting at position
Remove Removes one or more generated (realized) items. The position must refer to a previously generated item, which means its position offset must be 0
RemoveAll Removes all generated (realized) items
StartAt Prepare the generator to generate, starting at the given position and direction. This method must be called before calling GenerateNext. This method sets the generator's status to GeneratingContainers; when generation is stopped, the status changes to ContainersGenerated or Error, as appropriate
StartAt Prepare the generator to generate, starting at the given position and direction. This method must be called before calling GenerateNext. This method sets the generator's status to GeneratingContainers; when generation is stopped, the status changes to ContainersGenerated or Error, as appropriate
Stop Stops generation of containers

Properties

From ItemContainerGenerator


Name Description
RO Status Gets the status of the generator
DP_ Dependency Property - RO_ Read only

Events

From ItemContainerGenerator


Name Description
D ItemsChanged Raised by a ItemContainerGenerator to inform layouts that the items collection has changed
D StatusChanged Raised to inform controls that ItemContainerGenerator status has changed
R Routed Event - N Non routed event - D Delegate Event
© 2017 Noesis Technologies