Class
VirtualizingFastItemsControl<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:

cs-api-definition
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: IndicatorsContainerBase<TItem, TPanel>

Inherited Members FastItemsControl<TItem, TPanel>.ItemsSourcePropertyFastItemsControl<TItem, TPanel>.ItemStylePropertyFastItemsControl<TItem, TPanel>.OnApplyTemplate()FastItemsControl<TItem, TPanel>.OnItemsChanged()FastItemsControl<TItem, TPanel>.OnItemAdded(TItem, object)FastItemsControl<TItem, TPanel>.OnItemRemoved(TItem, object)FastItemsControl<TItem, TPanel>.ItemsSourceFastItemsControl<TItem, TPanel>.ItemStyleFastItemsControl<TItem, TPanel>.ChildrenFastItemsControl<TItem, TPanel>.HostPanelFastItemsControlBase.OnApplyTemplate()FastItemsControlBase.OnInitialized(EventArgs)FastItemsControlBase.ControlRoot

Constructors

VirtualizingFastItemsControl()

Declaration

cs-api-definition
protected VirtualizingFastItemsControl()

Properties

IsVirtualizing

Gets or sets a value indicating whether to use UI virtualization.

Declaration

cs-api-definition
public bool IsVirtualizing { get; set; }

Property Value

bool

true if this instance of IVirtualizingFastItemsControl is virtualizing its child collection; otherwise, false.

VisibleContainers

Gets all currently visible items.

Declaration

cs-api-definition
public IEnumerable VisibleContainers { get; }

Property Value

IEnumerable

The visible items.

Methods

ArrangeOverride(Size)

Called to do the virtualization. Also, calls Arrange override to its base, System.Windows.Controls.Control.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

Returns

Size

OnVisibleItemsChanged()

Occurs when virtualization is enabled and the visible range has changed.

Declaration

cs-api-definition
protected virtual void OnVisibleItemsChanged()