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.Collections.IEnumerable
The data provider. |
DataProviderIsEmpty
Gets a value indicating whether the data provider is empty.
Declaration
protected bool DataProviderIsEmpty { get; }
Property Value
System.Boolean
|
ElementProvider
Gets or sets the associated element provider.
Declaration
public IVirtualizedElementProvider<T> ElementProvider { get; set; }
Property Value
IVirtualizedElementProvider<T>
The element provider. |
Methods
BeginMeasure(SizeF)
Begins the measure.
Declaration
protected virtual bool BeginMeasure(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Boolean
|
EndMeasure()
Ends the measure.
Declaration
protected abstract SizeF EndMeasure()
Returns
System.Drawing.SizeF
|
FindCompatibleElement(Int32, T)
Finds the compatible element.
Declaration
protected virtual int FindCompatibleElement(int position, T data)
Parameters
System.Int32
position
The position. |
T
data
The data. |
Returns
System.Int32
|
GetElementContext()
Gets the element context.
Declaration
protected virtual object GetElementContext()
Returns
System.Object
|
InitializeFields()
InsertElement(Int32, IVirtualizedElement<T>, T)
Inserts the element.
Declaration
protected virtual void InsertElement(int position, IVirtualizedElement<T> element, T data)
Parameters
System.Int32
position
The position. |
IVirtualizedElement<T>
element
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.Boolean
|
MeasureElement(IVirtualizedElement<T>)
Declaration
protected abstract bool MeasureElement(IVirtualizedElement<T> element)
Parameters
IVirtualizedElement<T>
element
|
Returns
System.Boolean
|
MeasureElements()
Declaration
protected virtual void MeasureElements()
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
RemoveElement(Int32)
Removes the element.
Declaration
protected virtual void RemoveElement(int position)
Parameters
System.Int32
position
The position. |
UpdateElement(Int32, T)
Updates the element at concrete position
Declaration
protected virtual IVirtualizedElement<T> UpdateElement(int position, T data)
Parameters
System.Int32
position
The position. |
T
data
The data. |
Returns
IVirtualizedElement<T>
|
UpdateItems()
Updates the items' layout
Declaration
public virtual void UpdateItems()