Class
VirtualizingFastItemsControl<TItem, TPanel>

Extends the FastItemsControl by adding UI virtualization for items.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization

Assembly:Telerik.WinUI.Controls.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: objectRadControlFastItemsControlBaseFastItemsControl<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.ControlRootRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.OnCreateAutomationPeer()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.ApplyTemplateCore()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

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

Overrides RadControl.ArrangeOverride(Size)

OnVisibleItemsChanged()

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

Declaration

cs-api-definition
protected virtual void OnVisibleItemsChanged()