Class RadItemsView
Represents a lightweight collection of items. Supports scrolling and virtualization, item styles and templates.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadItemsView : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IRadItemsView
Constructors
RadItemsView()
Fields
EmptyStyleProperty
Identifies the EmptyStyle property.
Declaration
public static readonly BindableProperty EmptyStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
EmptyTemplateProperty
Identifies the EmptyTemplate property.
Declaration
public static readonly BindableProperty EmptyTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
HorizontalScrollBarLayoutModeProperty
Identifies the HorizontalScrollBarLayoutMode property.
Declaration
public static readonly BindableProperty HorizontalScrollBarLayoutModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
HorizontalScrollBarStyleProperty
Identifies the HorizontalScrollBarStyle property.
Declaration
public static readonly BindableProperty HorizontalScrollBarStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
HorizontalScrollBarTemplateProperty
Identifies the HorizontalScrollBarTemplate property.
Declaration
public static readonly BindableProperty HorizontalScrollBarTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
HorizontalScrollBarVisibilityProperty
Identifies the HorizontalScrollBarVisibility property.
Declaration
public static readonly BindableProperty HorizontalScrollBarVisibilityProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
IsEmptyProperty
Identifies the IsEmpty property.
Declaration
public static readonly BindableProperty IsEmptyProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemHoldingCommandProperty
Identifies the ItemHoldingCommand property.
Declaration
public static readonly BindableProperty ItemHoldingCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemStyleProperty
Identifies the ItemStyle property.
Declaration
public static readonly BindableProperty ItemStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemStyleSelectorProperty
Identifies the ItemStyleSelector property.
Declaration
public static readonly BindableProperty ItemStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemTappedCommandProperty
Identifies the ItemTappedCommand property.
Declaration
public static readonly BindableProperty ItemTappedCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemTemplateProperty
Identifies the ItemTemplate property.
Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
VerticalScrollBarLayoutModeProperty
Identifies the VerticalScrollBarLayoutMode property.
Declaration
public static readonly BindableProperty VerticalScrollBarLayoutModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
VerticalScrollBarStyleProperty
Identifies the VerticalScrollBarStyle property.
Declaration
public static readonly BindableProperty VerticalScrollBarStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
VerticalScrollBarTemplateProperty
Identifies the VerticalScrollBarTemplate property.
Declaration
public static readonly BindableProperty VerticalScrollBarTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
VerticalScrollBarVisibilityProperty
Identifies the VerticalScrollBarVisibility property.
Declaration
public static readonly BindableProperty VerticalScrollBarVisibilityProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
EmptyStyle
Gets or sets the Microsoft.Maui.Controls.Style applied to the empty content when the control contains no data. The target type of this Microsoft.Maui.Controls.Style is ItemsEmptyView.
Declaration
public Style EmptyStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
EmptyTemplate
Gets or sets the Microsoft.Maui.Controls.DataTemplate used to display an empty content when the control contains no data.
Declaration
public DataTemplate EmptyTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
HorizontalScrollBarLayoutMode
Gets or sets the layout mode of the horizontal scroll bar. For more information see the ScrollBarLayoutMode type.
Declaration
public ScrollBarLayoutMode HorizontalScrollBarLayoutMode { get; set; }
Property Value
ScrollBarLayoutMode
|
HorizontalScrollBarStyle
Gets or sets the Microsoft.Maui.Controls.Style mode of the horizontal scroll bar. The target type of this Microsoft.Maui.Controls.Style is RadScrollBar.
Declaration
public Style HorizontalScrollBarStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
HorizontalScrollBarTemplate
Gets or sets the Microsoft.Maui.Controls.ControlTemplate mode of the horizontal scroll bar. The target type of this Microsoft.Maui.Controls.ControlTemplate is RadScrollBar.
Declaration
public ControlTemplate HorizontalScrollBarTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate
|
HorizontalScrollBarVisibility
Gets or sets the visibility of the horizontal scroll bar. For more information see the Microsoft.Maui.ScrollBarVisibility type.
Declaration
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
Microsoft.Maui.ScrollBarVisibility
|
IsEmpty
Gets a value indicating whether the control contains no data.
Declaration
public bool IsEmpty { get; }
Property Value
System.Boolean
|
ItemHoldingCommand
Gets or sets a command to execute when an item is held. The command accepts a single parameter with the item being held.
Declaration
public ICommand ItemHoldingCommand { get; set; }
Property Value
System.Windows.Input.ICommand
|
ItemsSource
Gets or sets the collection of items used to populate the control.
Declaration
public IList ItemsSource { get; set; }
Property Value
System.Collections.IList
|
ItemStyle
Gets or sets the Microsoft.Maui.Controls.Style applied to each item of the control. The target type of this Microsoft.Maui.Controls.Style is ItemView.
Declaration
public Style ItemStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
ItemStyleSelector
Gets or sets a IStyleSelector used to select a Microsoft.Maui.Controls.Style for each item of the control. The target type of the Microsoft.Maui.Controls.Style is ItemView.
Declaration
public IStyleSelector ItemStyleSelector { get; set; }
Property Value
IStyleSelector
|
ItemTappedCommand
Gets or sets a command to execute when an item is tapped. The command accepts a single parameter with the item being tapped.
Declaration
public ICommand ItemTappedCommand { get; set; }
Property Value
System.Windows.Input.ICommand
|
ItemTemplate
Gets or sets the Microsoft.Maui.Controls.DataTemplate that defines the appearance of each item.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
ScrollToCommand
Gets a command that scrolls to an item in the control, which is specified as a parameter.
Declaration
public ICommand ScrollToCommand { get; }
Property Value
System.Windows.Input.ICommand
|
VerticalScrollBarLayoutMode
Gets or sets the layout mode of the vertical scroll bar. For more information see the ScrollBarLayoutMode type.
Declaration
public ScrollBarLayoutMode VerticalScrollBarLayoutMode { get; set; }
Property Value
ScrollBarLayoutMode
|
VerticalScrollBarStyle
Gets or sets the Microsoft.Maui.Controls.Style mode of the vertical scroll bar. The target type of this Microsoft.Maui.Controls.Style is RadScrollBar.
Declaration
public Style VerticalScrollBarStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
VerticalScrollBarTemplate
Gets or sets the Microsoft.Maui.Controls.ControlTemplate mode of the vertical scroll bar. The target type of this Microsoft.Maui.Controls.ControlTemplate is RadScrollBar.
Declaration
public ControlTemplate VerticalScrollBarTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate
|
VerticalScrollBarVisibility
Gets or sets the visibility of the vertical scroll bar. For more information see the Microsoft.Maui.ScrollBarVisibility type.
Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
Microsoft.Maui.ScrollBarVisibility
|
Methods
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
Overrides
ScrollTo(Object)
Scrolls the visible area of the control so that the specified item is visible.
Declaration
public void ScrollTo(object dataItem)
Parameters
System.Object
dataItem
Specifies the item to scroll to. |
Events
ItemHolding
Raised when an item in the control is held. For more information see the ItemViewHoldingEventArgs type.
Declaration
public event EventHandler<ItemViewHoldingEventArgs> ItemHolding
Event Type
System.EventHandler<ItemViewHoldingEventArgs>
|
ItemsSourceChanged
Raised when the ItemsSource property has changed.
Declaration
public event EventHandler ItemsSourceChanged
Event Type
System.EventHandler
|
ItemTapped
Raised when an item in the control was tapped. For more information see the ItemViewTappedEventArgs type.
Declaration
public event EventHandler<ItemViewTappedEventArgs> ItemTapped
Event Type
System.EventHandler<ItemViewTappedEventArgs>
|