Class VirtualizingFastItemsControl<TItem, TPanel>
Extends the FastItemsControl by adding UI virtualization for items.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Sparklines
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class VirtualizingFastItemsControl<TItem, TPanel> : FastItemsControl<TItem, TPanel>, IVirtualizingFastItemsControl where TItem : FrameworkElement, new()
where TPanel : Panel, new()
Type Parameters
TItem
The type of the item. |
TPanel
The type of the panel. |
Constructors
VirtualizingFastItemsControl()
Declaration
protected VirtualizingFastItemsControl()
Properties
IsVirtualizing
Gets or sets a value indicating whether to use UI virtualization.
Declaration
public bool IsVirtualizing { get; set; }
Property Value
System.Boolean
|
VisibleContainers
Gets all currently visible items.
Declaration
public IEnumerable VisibleContainers { get; }
Property Value
System.Collections.IEnumerable
The visible items. |
Methods
ArrangeOverride(Size)
Called to do the virtualization. Also, calls Arrange override to its base, System.Windows.Controls.Control.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
|
Returns
System.Windows.Size
|
OnVisibleItemsChanged()
Occurs when virtualization is enabled and the visible range has changed.
Declaration
protected virtual void OnVisibleItemsChanged()