Represents the provider for the virtual row elements.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualRowsElementProvider : IVirtualizedElementProvider<int>
Inheritance: objectVirtualRowsElementProvider
Implements:
Constructors
Initializes a new instance of the VirtualRowsElementProvider class.
public VirtualRowsElementProvider(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 the provider should be updated.
public bool ShouldUpdate(IVirtualizedElement<int> element, int data, object context)
The element.
dataintThe data.
contextobjectThe context.
Returns:Implements:
Tries to get element with the child view.
public bool TryGetElementWithChildView(int data, object context, out IVirtualizedElement<int> element)
The data.
contextobjectThe context.
elementIVirtualizedElement<int>The element.
Returns:Tries to get element without the child view.
public bool TryGetElementWithoutChildView(int data, object context, out IVirtualizedElement<int> element)
The data.
contextobjectThe context.
elementIVirtualizedElement<int>The element.
Returns: