Interface IContainerGenerator
An interface that is implemented by classes which are responsible for generating user interface (UI) content on behalf of a host.
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public interface IContainerGenerator : IDisposable
Methods
ContainerFromIndex(Int32)
Return the UI element corresponding to the item at the given index within the ItemCollection.
Declaration
DependencyObject ContainerFromIndex(int index)
Parameters
System.Int32
index
|
Returns
System.Windows.DependencyObject
|
ContainerFromItem(Object)
Return the UI element corresponding to the given item. Returns null if the item does not belong to the item collection, or if no UI has been generated for it.
Declaration
DependencyObject ContainerFromItem(object item)
Parameters
System.Object
item
|
Returns
System.Windows.DependencyObject
|
IndexFromContainer(DependencyObject)
Given a generated UI element, return the index of the corresponding item within the ItemCollection.
Declaration
int IndexFromContainer(DependencyObject container)
Parameters
System.Windows.DependencyObject
container
|
Returns
System.Int32
|
ItemFromContainer(DependencyObject)
Return the item corresponding to the given UI element. If the element was not generated as a container for this generator's host, the method returns DependencyProperty.UnsetValue.
Declaration
object ItemFromContainer(DependencyObject container)
Parameters
System.Windows.DependencyObject
container
|
Returns
System.Object
|