Class CellElementProvider
Represents the element provider for the cells.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class CellElementProvider : BaseVirtualizedElementProvider<GridViewColumn>, IVirtualizedElementProvider<GridViewColumn>
Constructors
CellElementProvider(GridTableElement)
Initializes a new instance of the CellElementProvider class.
Declaration
public CellElementProvider(GridTableElement rowView)
Parameters
GridTableElement
rowView
The row view. |
Properties
CachedElementsCount
Gets the cached elements count.
Declaration
public override int CachedElementsCount { get; }
Property Value
System.Int32
The cached elements count. |
Overrides
Methods
CacheElement(IVirtualizedElement<GridViewColumn>)
Caches the element.
Declaration
public override bool CacheElement(IVirtualizedElement<GridViewColumn> element)
Parameters
IVirtualizedElement<GridViewColumn>
element
The element. |
Returns
System.Boolean
|
Overrides
ClearCache()
Clears the cached elements.
Declaration
public override void ClearCache()
Overrides
CreateElement(GridViewColumn, Object)
Creates the element.
Declaration
public override IVirtualizedElement<GridViewColumn> CreateElement(GridViewColumn data, object context)
Parameters
GridViewColumn
data
The data. |
System.Object
context
The context. |
Returns
IVirtualizedElement<GridViewColumn>
|
Overrides
GetElement(GridViewColumn, Object)
Gets the element from cache or creates it.
Declaration
public override IVirtualizedElement<GridViewColumn> GetElement(GridViewColumn data, object context)
Parameters
GridViewColumn
data
The data. |
System.Object
context
The context. |
Returns
IVirtualizedElement<GridViewColumn>
|
Overrides
GetElementSize(GridViewColumn)
Gets the size of the element.
Declaration
public override SizeF GetElementSize(GridViewColumn item)
Parameters
GridViewColumn
item
The item. |
Returns
System.Drawing.SizeF
|
Overrides
IsCompatible(IVirtualizedElement<GridViewColumn>, GridViewColumn, Object)
Determines whether the specified element is compatible with concrete data.
Declaration
public override bool IsCompatible(IVirtualizedElement<GridViewColumn> element, GridViewColumn data, object context)
Parameters
IVirtualizedElement<GridViewColumn>
element
The element. |
GridViewColumn
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|