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

Represents a lightweight collection of items. Supports scrolling and virtualization, item styles and templates.

Definition

Constructors

Initializes a new instance of the RadItemsView class.

C#
public RadItemsView()

Fields

EmptyStyleProperty

BindableProperty

Identifies the EmptyStyle property.

C#
public static readonly BindableProperty EmptyStyleProperty

EmptyTemplateProperty

BindableProperty

Identifies the EmptyTemplate property.

C#
public static readonly BindableProperty EmptyTemplateProperty

Identifies the HorizontalScrollBarLayoutMode property.

C#
public static readonly BindableProperty HorizontalScrollBarLayoutModeProperty

Identifies the HorizontalScrollBarStyle property.

C#
public static readonly BindableProperty HorizontalScrollBarStyleProperty

Identifies the HorizontalScrollBarTemplate property.

C#
public static readonly BindableProperty HorizontalScrollBarTemplateProperty

Identifies the HorizontalScrollBarVisibility property.

C#
public static readonly BindableProperty HorizontalScrollBarVisibilityProperty

IsEmptyProperty

BindableProperty

Identifies the IsEmpty property.

C#
public static readonly BindableProperty IsEmptyProperty

Identifies the ItemHoldingCommand property.

C#
public static readonly BindableProperty ItemHoldingCommandProperty

ItemsSourceProperty

BindableProperty

Identifies the ItemsSource property.

C#
public static readonly BindableProperty ItemsSourceProperty

ItemStyleProperty

BindableProperty

Identifies the ItemStyle property.

C#
public static readonly BindableProperty ItemStyleProperty

Identifies the ItemStyleSelector property.

C#
public static readonly BindableProperty ItemStyleSelectorProperty

Identifies the ItemTappedCommand property.

C#
public static readonly BindableProperty ItemTappedCommandProperty

ItemTemplateProperty

BindableProperty

Identifies the ItemTemplate property.

C#
public static readonly BindableProperty ItemTemplateProperty

Identifies the VerticalScrollBarLayoutMode property.

C#
public static readonly BindableProperty VerticalScrollBarLayoutModeProperty

Identifies the VerticalScrollBarStyle property.

C#
public static readonly BindableProperty VerticalScrollBarStyleProperty

Identifies the VerticalScrollBarTemplate property.

C#
public static readonly BindableProperty VerticalScrollBarTemplateProperty

Identifies the VerticalScrollBarVisibility property.

C#
public static readonly BindableProperty VerticalScrollBarVisibilityProperty

Properties

Gets or sets the Style applied to the empty content when the control contains no data. The target type of this Style is ItemsEmptyView.

C#
public Style EmptyStyle { get; set; }

EmptyTemplate

DataTemplate

Gets or sets the DataTemplate used to display an empty content when the control contains no data.

C#
public DataTemplate EmptyTemplate { get; set; }

Gets or sets the layout mode of the horizontal scroll bar. For more information see the ScrollBarLayoutMode type.

C#
public ScrollBarLayoutMode HorizontalScrollBarLayoutMode { get; set; }

Gets or sets the Style mode of the horizontal scroll bar. The target type of this Style is RadScrollBar.

C#
public Style HorizontalScrollBarStyle { get; set; }

Gets or sets the ControlTemplate mode of the horizontal scroll bar. The target type of this ControlTemplate is RadScrollBar.

C#
public ControlTemplate HorizontalScrollBarTemplate { get; set; }

Gets or sets the visibility of the horizontal scroll bar. For more information see the ScrollBarVisibility type.

C#
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }

Gets a value indicating whether the control contains no data.

C#
public bool IsEmpty { get; }

Gets or sets a command to execute when an item is held. The command accepts a single parameter with the item being held.

C#
public ICommand ItemHoldingCommand { get; set; }

Gets or sets the collection of items used to populate the control.

C#
public IList ItemsSource { get; set; }

Gets or sets the Style applied to each item of the control. The target type of this Style is ItemView.

C#
public Style ItemStyle { get; set; }

Gets or sets a IStyleSelector used to select a Style for each item of the control. The target type of the Style is ItemView.

C#
public IStyleSelector ItemStyleSelector { get; set; }

Gets or sets a command to execute when an item is tapped. The command accepts a single parameter with the item being tapped.

C#
public ICommand ItemTappedCommand { get; set; }

ItemTemplate

DataTemplate

Gets or sets the DataTemplate that defines the appearance of each item.

C#
public DataTemplate ItemTemplate { get; set; }

Gets a command that scrolls to an item in the control, which is specified as a parameter.

C#
public ICommand ScrollToCommand { get; }

Gets or sets the layout mode of the vertical scroll bar. For more information see the ScrollBarLayoutMode type.

C#
public ScrollBarLayoutMode VerticalScrollBarLayoutMode { get; set; }

Gets or sets the Style mode of the vertical scroll bar. The target type of this Style is RadScrollBar.

C#
public Style VerticalScrollBarStyle { get; set; }

Gets or sets the ControlTemplate mode of the vertical scroll bar. The target type of this ControlTemplate is RadScrollBar.

C#
public ControlTemplate VerticalScrollBarTemplate { get; set; }

VerticalScrollBarVisibility

ScrollBarVisibility

Gets or sets the visibility of the vertical scroll bar. For more information see the ScrollBarVisibility type.

C#
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Methods

C#
protected override void OnApplyTemplate()

Overrides: RadCompositeContentView.OnApplyTemplate()

Scrolls the visible area of the control so that the specified item is visible.

C#
public void ScrollTo(object dataItem)
Parameters:dataItemobject

Specifies the item to scroll to.

Events

Raised when an item in the control is held. For more information see the ItemViewHoldingEventArgs type.

C#
public event EventHandler<ItemViewHoldingEventArgs> ItemHolding

Raised when the ItemsSource property has changed.

C#
public event EventHandler ItemsSourceChanged

Raised when an item in the control was tapped. For more information see the ItemViewTappedEventArgs type.

C#
public event EventHandler<ItemViewTappedEventArgs> ItemTapped