Class BaseVirtualizedContainer<T>
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class BaseVirtualizedContainer<T> : LayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Type Parameters
T
Type of the ViewElement |
Constructors
BaseVirtualizedContainer()
Declaration
protected BaseVirtualizedContainer()
Properties
DataProvider
Gets or sets the associated data provider.
Declaration
public IEnumerable DataProvider { get; set; }
Property Value
System. The data provider. |
DataProviderIsEmpty
Gets a value indicating whether the data provider is empty.
Declaration
protected bool DataProviderIsEmpty { get; }
Property Value
System.
|
ElementProvider
Gets or sets the associated element provider.
Declaration
public IVirtualizedElementProvider<T> ElementProvider { get; set; }
Property Value
IVirtualized The element provider. |
Methods
BeginMeasure(SizeF)
Begins the measure.
Declaration
protected virtual bool BeginMeasure(SizeF availableSize)
Parameters
System. Size of the available. |
Returns
System.
|
EndMeasure()
Ends the measure.
Declaration
protected abstract SizeF EndMeasure()
Returns
System.
|
FindCompatibleElement(Int32, T)
Finds the compatible element.
Declaration
protected virtual int FindCompatibleElement(int position, T data)
Parameters
System. The position. |
T
data
The data. |
Returns
System.
|
GetElementContext()
Gets the element context.
Declaration
protected virtual object GetElementContext()
Returns
System.
|
InitializeFields()
InsertElement(Int32, IVirtualizedElement<T>, T)
Inserts the element.
Declaration
protected virtual void InsertElement(int position, IVirtualizedElement<T> element, T data)
Parameters
System. The position. |
IVirtualized The element. |
T
data
The data. |
IsItemVisible(T)
Determines whether the specified item is visible.
Declaration
protected virtual bool IsItemVisible(T data)
Parameters
T
data
The item. |
Returns
System.
|
MeasureElement(IVirtualizedElement<T>)
Declaration
protected abstract bool MeasureElement(IVirtualizedElement<T> element)
Parameters
IVirtualized
|
Returns
System.
|
MeasureElements()
Declaration
protected virtual void MeasureElements()
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
RemoveElement(Int32)
Removes the element.
Declaration
protected virtual void RemoveElement(int position)
Parameters
System. The position. |
UpdateElement(Int32, T)
Updates the element at concrete position
Declaration
protected virtual IVirtualizedElement<T> UpdateElement(int position, T data)
Parameters
System. The position. |
T
data
The data. |
Returns
UpdateItems()
Updates the items' layout
Declaration
public virtual void UpdateItems()