Class
RadItemsControl

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

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
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

RadItemsControl()

Initializes a new instance of the RadItemsControl class.

Declaration

cs-api-definition
public RadItemsControl()

Fields

ItemTemplateProperty

Identifies the ItemTemplate bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemTemplateProperty

Field Value

BindableProperty

ItemsSourceProperty

Identifies the ItemsSource bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemsSourceProperty

Field Value

BindableProperty

Properties

ItemTemplate

Gets or sets the DataTemplate used to display each item.

Declaration

cs-api-definition
public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

A DataTemplate that defines the visual structure of items.

ItemsSource

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

Declaration

cs-api-definition
public IList ItemsSource { get; set; }

Property Value

IList

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

Methods

BeginUpdates()

Begins a batch update of the items control.

Declaration

cs-api-definition
public void BeginUpdates()

OnItemTemplateChanged(object, object)

Called when the ItemTemplate property changes.

Declaration

cs-api-definition
protected virtual void OnItemTemplateChanged(object oldValue, object newValue)

Parameters

oldValue

object

The old value of the ItemTemplate property.

newValue

object

The new value of the ItemTemplate property.