skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class FastItemsControl<TItem, TPanel>

Custom lightweight ItemsControl. Does not wrap the generated items into ItemsPresenter. Listens to CollectionChanged events and acts appropriately.

Inheritance
System.Object
FastItemsControlBase
FastItemsControl<TItem, TPanel>
DataAxisLabelsControlBase<TAxisLabel, TPanel>
DataAxisTicksControlBase<TAxisTick, TPanel>
StackedBarItemsControl
HeatMapLabelsControlBase<TLabel, TPanel>
VirtualizingFastItemsControl<TItem, TPanel>
Inherited Members
FastItemsControlBase.OnInitialized(EventArgs)
FastItemsControlBase.ControlRoot
Namespace: Telerik.Windows.Controls.Sparklines
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

public abstract class FastItemsControl<TItem, TPanel> : FastItemsControlBase where TItem : FrameworkElement, new()
    where TPanel : Panel, new()
Type Parameters
TItem

The type of the item.

TPanel

The type of the panel.

Constructors

FastItemsControl()

Declaration
protected FastItemsControl()

Fields

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
System.Windows.DependencyProperty

ItemStyleProperty

Identifies the ItemStyle dependency property.

Declaration
public static readonly DependencyProperty ItemStyleProperty
Field Value
System.Windows.DependencyProperty

Properties

Children

Gets the children.

Declaration
protected UIElementCollection Children { get; }
Property Value
System.Windows.Controls.UIElementCollection

The children.

HostPanel

Provides access to the panel hosting the control's items.

Declaration
protected TPanel HostPanel { get; }
Property Value
TPanel

ItemsSource

Gets or sets the ItemsSource.

Declaration
public object ItemsSource { get; set; }
Property Value
System.Object

ItemStyle

Gets or sets the ItemStyle.

Declaration
public Style ItemStyle { get; set; }
Property Value
System.Windows.Style

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration
public override void OnApplyTemplate()
Overrides
FastItemsControlBase.OnApplyTemplate()

OnItemAdded(TItem, Object)

Occurs when a new item is added.

Declaration
protected virtual void OnItemAdded(TItem visualItem, object dataItem)
Parameters
TItem visualItem

The visual item.

System.Object dataItem

The data item.

OnItemRemoved(TItem, Object)

Occurs when an item is removed.

Declaration
protected virtual void OnItemRemoved(TItem visualItem, object dataItem)
Parameters
TItem visualItem

The visual item.

System.Object dataItem

The data item.

OnItemsChanged()

Occurs when new items are added or removed.

Declaration
protected virtual void OnItemsChanged()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.