Represents a virtualized cell elements provider.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualCellsElementProvider : IVirtualizedElementProvider<int>
Inheritance: objectVirtualCellsElementProvider
Implements:
Constructors
Initializes a new instance of the VirtualCellsElementProvider class.
public VirtualCellsElementProvider(VirtualGridTableElement owner)
The owner.
Properties
Gets or sets the default size of the element.
public SizeF DefaultElementSize { get; set; }
The default size of the element.
Implements:
Methods
Caches the element.
public bool CacheElement(IVirtualizedElement<int> element)
The element.
Returns:Implements:
Clears the cached elements.
public void ClearCache()
Implements:
Gets the size of the element.
public SizeF GetElementSize(IVirtualizedElement<int> element)
The element.
Returns:Implements:
Determines whether the specified element is compatible with its data.
public bool IsCompatible(IVirtualizedElement<int> element, int data, object context)
The element.
dataintThe data.
contextobjectThe context.
Returns:true if the specified element is compatible; otherwise, false.
Implements:
Returns whether an update operation should be performed.
public bool ShouldUpdate(IVirtualizedElement<int> element, int data, object context)
The element.
dataintThe data.
contextobjectThe context.
Returns:Implements: