IVirtualizedElementProvider<T>
Interface
Represents interface for virtualized element provider
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
T
Syntax:
C#
public interface IVirtualizedElementProvider<T>
Derived Classes:
Properties
Gets or sets the default size of the element.
C#
SizeF DefaultElementSize { get; set; }
The default size of the element.
Methods
Caches the element.
C#
bool CacheElement(IVirtualizedElement<T> element)
The element.
Returns:Clears the cached elements.
C#
void ClearCache()
Gets the element.
C#
IVirtualizedElement<T> GetElement(T data, object context)
The data.
contextobjectThe context.
Returns:Gets the size of the element.
C#
SizeF GetElementSize(IVirtualizedElement<T> element)
The element.
Returns:Gets the size of the element.
Determines whether the specified element is compatible with its data.
C#
bool IsCompatible(IVirtualizedElement<T> element, T data, object context)
The element.
dataTThe data.
contextobjectThe context.
Returns:true if the specified element is compatible; otherwise, false.
Shoulds the update.
C#
bool ShouldUpdate(IVirtualizedElement<T> element, T data, object context)
The element.
dataTThe data.
contextobjectThe context.
Returns: