ClassVirtualizingFastItemsControl<TItem, TPanel>
Extends the FastItemsControl by adding UI virtualization for items.
Definition
Namespace:Telerik.Windows.Controls.Sparklines
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Type Parameters:
TItem
The type of the item.
TPanel
The type of the panel.
Syntax:
public abstract class VirtualizingFastItemsControl<TItem, TPanel> : FastItemsControl<TItem, TPanel> where TItem : FrameworkElement, new() where TPanel : Panel, new()
Inheritance: objectFastItemsControlBaseFastItemsControl<TItem, TPanel>VirtualizingFastItemsControl<TItem, TPanel>
Derived Classes:
Inherited Members
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
true if this instance of IVirtualizingFastItemsControl is virtualizing its child collection; otherwise, false.
VisibleContainers
Gets all currently visible items.
Declaration
public IEnumerable VisibleContainers { get; }
Property Value
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
finalSize
Size
Returns
Size
OnVisibleItemsChanged()
Occurs when virtualization is enabled and the visible range has changed.
Declaration
protected virtual void OnVisibleItemsChanged()