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