Class VirtualCellsElementProvider
Represents a virtualized cell elements provider.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class VirtualCellsElementProvider : IVirtualizedElementProvider<int>
Constructors
VirtualCellsElementProvider(VirtualGridTableElement)
Initializes a new instance of the Virtual
Declaration
public VirtualCellsElementProvider(VirtualGridTableElement owner)
Parameters
Virtual The owner. |
Properties
DefaultElementSize
Gets or sets the default size of the element.
Declaration
public SizeF DefaultElementSize { get; set; }
Property Value
System. The default size of the element. |
Implements
Methods
CacheElement(IVirtualizedElement<Int32>)
Caches the element.
Declaration
public bool CacheElement(IVirtualizedElement<int> element)
Parameters
IVirtualized The element. |
Returns
System.
|
Implements
ClearCache()
Clears the cached elements.
Declaration
public void ClearCache()
Implements
CreateElement(Int32, Type, Object)
Creates the element.
Declaration
public VirtualGridCellElement CreateElement(int data, Type cellType, object context)
Parameters
System. The data. |
System. Type of the cell. |
System. The context. |
Returns
GetElement(Int32, Object)
Gets the element.
Declaration
public IVirtualizedElement<int> GetElement(int data, object context)
Parameters
System. The data. |
System. The context. |
Returns
IVirtualized
|
Implements
GetElementSize(Int32)
Gets the size of the element.
Declaration
public SizeF GetElementSize(int data)
Parameters
System. The data. |
Returns
System.
|
Implements
GetElementSize(IVirtualizedElement<Int32>)
Gets the size of the element.
Declaration
public SizeF GetElementSize(IVirtualizedElement<int> element)
Parameters
IVirtualized The element. |
Returns
System.
|
Implements
IsCompatible(IVirtualizedElement<Int32>, Int32, Object)
Determines whether the specified element is compatible with its data.
Declaration
public bool IsCompatible(IVirtualizedElement<int> element, int data, object context)
Parameters
IVirtualized The element. |
System. The data. |
System. The context. |
Returns
System.
|
Implements
ShouldUpdate(IVirtualizedElement<Int32>, Int32, Object)
Returns whether an update operation should be performed.
Declaration
public bool ShouldUpdate(IVirtualizedElement<int> element, int data, object context)
Parameters
IVirtualized The element. |
System. The data. |
System. The context. |
Returns
System.
|