New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a control that can be used to present a collection of items.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadItemsControl : RadView, IRadItemsControl, IView, IElement, ITransform

Inheritance: objectRadViewRadItemsControl

Implements: IElementIRadItemsControlITransformIView

Inherited Members RadView.OnNativeControlLoaded()RadView.OnNativeControlUnloaded()RadView.IsDefaultValue(string)RadView.OnPropertyChanged(string)RadView.OnHandlerChanged()RadView.IsOperational...

Constructors

Initializes a new instance of the RadItemsControl class.

C#
public RadItemsControl()

Fields

ItemsSourceProperty

BindableProperty

Identifies the ItemsSource bindable property.

C#
public static readonly BindableProperty ItemsSourceProperty

ItemTemplateProperty

BindableProperty

Identifies the ItemTemplate bindable property.

C#
public static readonly BindableProperty ItemTemplateProperty

Properties

Gets or sets the data source for generating the content of the items control.

C#
public IList ItemsSource { get; set; }
Property Value:

An IList that serves as the source of items for the control.

ItemTemplate

DataTemplate

Gets or sets the DataTemplate used to display each item.

C#
public DataTemplate ItemTemplate { get; set; }
Property Value:

A DataTemplate that defines the visual structure of items.

Methods

Begins a batch update of the items control.

C#
public void BeginUpdates()

Called when the ItemTemplate property changes.

C#
protected virtual void OnItemTemplateChanged(object oldValue, object newValue)
Parameters:oldValueobject

The old value of the ItemTemplate property.

newValueobject

The new value of the ItemTemplate property.