Class VirtualRowsElementProvider
Represents the provider for the virtual row elements.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class VirtualRowsElementProvider : IVirtualizedElementProvider<int>
Constructors
VirtualRowsElementProvider(VirtualGridTableElement)
Initializes a new instance of the Virtual
Declaration
public VirtualRowsElementProvider(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 VirtualGridRowElement CreateElement(int data, Type rowType, object context)
Parameters
System. The data. |
System. Type of the row. |
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 the provider should be updated.
Declaration
public bool ShouldUpdate(IVirtualizedElement<int> element, int data, object context)
Parameters
IVirtualized The element. |
System. The data. |
System. The context. |
Returns
System.
|
Implements
TryGetElementWithChildView(Int32, Object, out IVirtualizedElement<Int32>)
Tries to get element with the child view.
Declaration
public bool TryGetElementWithChildView(int data, object context, out IVirtualizedElement<int> element)
Parameters
System. The data. |
System. The context. |
IVirtualized The element. |
Returns
System.
|
TryGetElementWithoutChildView(Int32, Object, out IVirtualizedElement<Int32>)
Tries to get element without the child view.
Declaration
public bool TryGetElementWithoutChildView(int data, object context, out IVirtualizedElement<int> element)
Parameters
System. The data. |
System. The context. |
IVirtualized The element. |
Returns
System.
|