Class RadCollectionView
Represents a control that can be used to present a collection of items.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadCollectionView : RadLayout, ICollectionView, ISelector
Constructors
RadCollectionView()
Fields
AutomaticLoadOnDemandTemplateProperty
Identifies the Automatic
Declaration
public static readonly BindableProperty AutomaticLoadOnDemandTemplateProperty
Field Value
Microsoft.
|
DisplayMemberPathProperty
Identifies the Display
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
Microsoft.
|
DragDropBehaviorProperty
Identifies the Drag
Declaration
public static readonly BindableProperty DragDropBehaviorProperty
Field Value
Microsoft.
|
DragVisualTemplateProperty
Identifies the Drag
Declaration
public static readonly BindableProperty DragVisualTemplateProperty
Field Value
Microsoft.
|
DropIndicatorTemplateProperty
Identifies the Drop
Declaration
public static readonly BindableProperty DropIndicatorTemplateProperty
Field Value
Microsoft.
|
EmptyContentDisplayModeProperty
Identifies the Empty
Declaration
public static readonly BindableProperty EmptyContentDisplayModeProperty
Field Value
Microsoft.
|
EmptyContentTemplateProperty
Identifies the Empty
Declaration
public static readonly BindableProperty EmptyContentTemplateProperty
Field Value
Microsoft.
|
EndItemSwipeCommandProperty
Identifies the End
Declaration
public static readonly BindableProperty EndItemSwipeCommandProperty
Field Value
Microsoft.
|
EndSwipeLengthProperty
Identifies the End
Declaration
public static readonly BindableProperty EndSwipeLengthProperty
Field Value
Microsoft.
|
EndSwipeTemplateProperty
Identifies the End
Declaration
public static readonly BindableProperty EndSwipeTemplateProperty
Field Value
Microsoft.
|
FilterDescriptorsProperty
Identifies the Filter
Declaration
public static readonly BindableProperty FilterDescriptorsProperty
Field Value
Microsoft.
|
FooterTemplateProperty
GroupDescriptorsProperty
Identifies the Group
Declaration
public static readonly BindableProperty GroupDescriptorsProperty
Field Value
Microsoft.
|
GroupHeaderTemplateProperty
Identifies the Group
Declaration
public static readonly BindableProperty GroupHeaderTemplateProperty
Field Value
Microsoft.
|
GroupTapCommandProperty
Identifies the Group
Declaration
public static readonly BindableProperty GroupTapCommandProperty
Field Value
Microsoft.
|
GroupViewStyleProperty
Identifies the Group
Declaration
public static readonly BindableProperty GroupViewStyleProperty
Field Value
Microsoft.
|
GroupViewStyleSelectorProperty
Identifies the Group
Declaration
public static readonly BindableProperty GroupViewStyleSelectorProperty
Field Value
Microsoft.
|
HeaderTemplateProperty
Identifies the Header
Declaration
public static readonly BindableProperty HeaderTemplateProperty
Field Value
Microsoft.
|
HorizontalScrollBarVisibilityProperty
Identifies the Horizontal
Declaration
public static readonly BindableProperty HorizontalScrollBarVisibilityProperty
Field Value
Microsoft.
|
IsDragDropEnabledProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsDragDropEnabledProperty
Field Value
Microsoft.
|
IsItemSwipeEnabledProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsItemSwipeEnabledProperty
Field Value
Microsoft.
|
IsLoadOnDemandActiveProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsLoadOnDemandActiveProperty
Field Value
Microsoft.
|
IsLoadOnDemandEnabledProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsLoadOnDemandEnabledProperty
Field Value
Microsoft.
|
ItemsLayoutProperty
Identifies the Items
Declaration
public static readonly BindableProperty ItemsLayoutProperty
Field Value
Microsoft.
|
ItemsSourceProperty
Identifies the Items
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Microsoft.
|
ItemTapCommandProperty
Identifies the Item
Declaration
public static readonly BindableProperty ItemTapCommandProperty
Field Value
Microsoft.
|
ItemTemplateProperty
Identifies the Item
Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
Microsoft.
|
ItemViewStyleProperty
Identifies the Item
Declaration
public static readonly BindableProperty ItemViewStyleProperty
Field Value
Microsoft.
|
ItemViewStyleSelectorProperty
Identifies the Item
Declaration
public static readonly BindableProperty ItemViewStyleSelectorProperty
Field Value
Microsoft.
|
LoadOnDemandBufferItemsCountProperty
Identifies the Load
Declaration
public static readonly BindableProperty LoadOnDemandBufferItemsCountProperty
Field Value
Microsoft.
|
LoadOnDemandCommandProperty
Identifies the Load
Declaration
public static readonly BindableProperty LoadOnDemandCommandProperty
Field Value
Microsoft.
|
LoadOnDemandModeProperty
Identifies the Load
Declaration
public static readonly BindableProperty LoadOnDemandModeProperty
Field Value
Microsoft.
|
ManualLoadOnDemandTemplateProperty
Identifies the Manual
Declaration
public static readonly BindableProperty ManualLoadOnDemandTemplateProperty
Field Value
Microsoft.
|
SelectedIndexProperty
Identifies the SelectedIndex dependency property.
Declaration
public static readonly BindableProperty SelectedIndexProperty
Field Value
Microsoft.
|
SelectedItemProperty
Identifies the SelectedItem dependency property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
Microsoft.
|
SelectedItemsProperty
Identifies the Selected
Declaration
public static readonly BindableProperty SelectedItemsProperty
Field Value
Microsoft.
|
SelectionModeProperty
Identifies the SelectionMode dependency property.
Declaration
public static readonly BindableProperty SelectionModeProperty
Field Value
Microsoft.
|
SortDescriptorsProperty
Identifies the Sort
Declaration
public static readonly BindableProperty SortDescriptorsProperty
Field Value
Microsoft.
|
StartSwipeLengthProperty
Identifies the Start
Declaration
public static readonly BindableProperty StartSwipeLengthProperty
Field Value
Microsoft.
|
StartSwipeTemplateProperty
Identifies the Start
Declaration
public static readonly BindableProperty StartSwipeTemplateProperty
Field Value
Microsoft.
|
SwipeCompletedCommandProperty
Identifies the Swipe
Declaration
public static readonly BindableProperty SwipeCompletedCommandProperty
Field Value
Microsoft.
|
SwipeStartingCommandProperty
Identifies the Swipe
Declaration
public static readonly BindableProperty SwipeStartingCommandProperty
Field Value
Microsoft.
|
SwipeThresholdProperty
Identifies the Swipe
Declaration
public static readonly BindableProperty SwipeThresholdProperty
Field Value
Microsoft.
|
SwipingCommandProperty
Identifies the Swiping
Declaration
public static readonly BindableProperty SwipingCommandProperty
Field Value
Microsoft.
|
VerticalScrollBarVisibilityProperty
Identifies the Vertical
Declaration
public static readonly BindableProperty VerticalScrollBarVisibilityProperty
Field Value
Microsoft.
|
Properties
AutomaticLoadOnDemandTemplate
Gets or sets the template of the view visualized for Automatic loading.
Declaration
public DataTemplate AutomaticLoadOnDemandTemplate { get; set; }
Property Value
Microsoft.
|
DisplayMemberPath
Gets or sets a path to a value on the source object to serve as the visual representation of the object.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
System.
|
DragDropBehavior
Gets or sets the drag and drop behavior of Rad
Declaration
public CollectionViewDragDropBehavior DragDropBehavior { get; set; }
Property Value
DragVisualTemplate
Gets or sets the template that presents the drag visual of the dragged Rad
Declaration
public DataTemplate DragVisualTemplate { get; set; }
Property Value
Microsoft.
|
DropIndicatorTemplate
Gets or sets the template of the indicator that is shown between the Rad
Declaration
public DataTemplate DropIndicatorTemplate { get; set; }
Property Value
Microsoft.
|
EmptyContentDisplayMode
Gets or sets a value that specifies when the Empty
Declaration
public EmptyContentDisplayMode EmptyContentDisplayMode { get; set; }
Property Value
EmptyContentTemplate
Gets or sets the Microsoft.
Declaration
public DataTemplate EmptyContentTemplate { get; set; }
Property Value
Microsoft.
|
EndItemSwipeCommand
Gets the System.
Declaration
public ICommand EndItemSwipeCommand { get; }
Property Value
System.
|
EndSwipeLength
Gets or sets the length that the end swiped item has once the swipe is completed and until the swipe gets closed.
Declaration
public double EndSwipeLength { get; set; }
Property Value
System.
|
EndSwipeTemplate
Gets or sets the Microsoft.
Declaration
public DataTemplate EndSwipeTemplate { get; set; }
Property Value
Microsoft.
|
FilterDescriptors
Gets the collection of Filter
Declaration
public FilterDescriptorCollection FilterDescriptors { get; }
Property Value
FooterTemplate
GroupDescriptors
Gets the collection of Group
Declaration
public GroupDescriptorCollection GroupDescriptors { get; }
Property Value
GroupHeaderTemplate
Gets or sets the the template of the group headers or a custom logic for choosing a template used to display each header.
Declaration
public DataTemplate GroupHeaderTemplate { get; set; }
Property Value
Microsoft.
|
GroupTapCommand
Gets or sets the command that is executed when Rad
Declaration
public ICommand GroupTapCommand { get; set; }
Property Value
System.
|
GroupViewStyle
Gets or sets the Microsoft.
Declaration
public Style GroupViewStyle { get; set; }
Property Value
Microsoft.
|
GroupViewStyleSelector
Gets or sets custom style-selection logic for a style that can be applied to each generated group container element.
Declaration
public IStyleSelector GroupViewStyleSelector { get; set; }
Property Value
HeaderTemplate
Gets or sets the Microsoft.
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
Microsoft.
|
HorizontalScrollBarVisibility
Gets or sets the Microsoft.
Declaration
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
Microsoft.
|
IsDragDropEnabled
Gets or sets a value indicating whether drag and drop is enabled.
Declaration
public bool IsDragDropEnabled { get; set; }
Property Value
System.
|
IsItemSwipeEnabled
Gets or sets a value indicating whether the items of the list can be swiped.
Declaration
public bool IsItemSwipeEnabled { get; set; }
Property Value
System.
|
IsLoadOnDemandActive
Declaration
public bool IsLoadOnDemandActive { get; set; }
Property Value
System.
|
IsLoadOnDemandEnabled
Declaration
public bool IsLoadOnDemandEnabled { get; set; }
Property Value
System.
|
ItemsLayout
Gets or sets the layout that the items will be presented in.
Declaration
public CollectionViewLayoutBase ItemsLayout { get; set; }
Property Value
ItemsSource
Gets or sets a collection used to generate the content of the Rad
Declaration
public object ItemsSource { get; set; }
Property Value
System.
|
ItemTapCommand
Gets or sets the command that is executed when Rad
Declaration
public ICommand ItemTapCommand { get; set; }
Property Value
System.
|
ItemTemplate
Gets or sets the the template of the items or a custom logic for choosing a template used to display each item.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Microsoft.
|
ItemViewStyle
Gets or sets the Microsoft.
Declaration
public Style ItemViewStyle { get; set; }
Property Value
Microsoft.
|
ItemViewStyleSelector
Gets or sets custom style-selection logic for a style that can be applied to each generated container element.
Declaration
public IStyleSelector ItemViewStyleSelector { get; set; }
Property Value
LoadOnDemandBufferItemsCount
Gets or sets the incremental loading buffer items count that indicates at which point the additional items will start loading This property works in a combination with the Automatic.
Declaration
public int LoadOnDemandBufferItemsCount { get; set; }
Property Value
System.
|
LoadOnDemandCommand
Gets or set the System.
Declaration
public ICommand LoadOnDemandCommand { get; set; }
Property Value
System.
|
LoadOnDemandMode
Gets or sets a value indicating how the operation for loading more items is triggered - either by a Button (Manual) or by scrolling towards end (Automatic).
Declaration
public LoadOnDemandMode LoadOnDemandMode { get; set; }
Property Value
ManualLoadOnDemandTemplate
Gets or sets the template of the view visualized for Manual loading.
Declaration
public DataTemplate ManualLoadOnDemandTemplate { get; set; }
Property Value
Microsoft.
|
SelectedIndex
Gets or sets the SelectedIndex.
Declaration
public int SelectedIndex { get; set; }
Property Value
System.
|
SelectedItem
Gets the item which is currently selected.
Declaration
public object SelectedItem { get; set; }
Property Value
System.
|
SelectedItems
Gets the collection of currently selected items.
Declaration
public ObservableCollection<object> SelectedItems { get; }
Property Value
System.
|
SelectionMode
Gets or sets the SelectionMode. This is a dependency property.
Declaration
public CollectionViewSelectionMode SelectionMode { get; set; }
Property Value
SortDescriptors
Gets the collection of Sort
Declaration
public SortDescriptorCollection SortDescriptors { get; }
Property Value
StartSwipeLength
Gets or sets the length that the start swiped item has once the swipe is completed and until the swipe gets closed.
Declaration
public double StartSwipeLength { get; set; }
Property Value
System.
|
StartSwipeTemplate
Gets or sets the Microsoft.
Declaration
public DataTemplate StartSwipeTemplate { get; set; }
Property Value
Microsoft.
|
SwipeCompletedCommand
Gets or sets the System.
Declaration
public ICommand SwipeCompletedCommand { get; set; }
Property Value
System.
|
SwipeStartingCommand
Gets or sets the System.
Declaration
public ICommand SwipeStartingCommand { get; set; }
Property Value
System.
|
SwipeThreshold
Gets or sets the length (in pixels) of the swipe gesture that is required to trigger the feature.
Declaration
public double SwipeThreshold { get; set; }
Property Value
System.
|
SwipingCommand
Gets or sets the System.
Declaration
public ICommand SwipingCommand { get; set; }
Property Value
System.
|
VerticalScrollBarVisibility
Gets or sets the Microsoft.
Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
Microsoft.
|
Methods
EndItemSwipe(Boolean, Action)
Brings item that is swiped to its original position.
Declaration
public void EndItemSwipe(bool animate = true, Action animationFinished = null)
Parameters
System. Whether the swipe back should be animated or not. |
System. Action that is invoked when the animation for end of item swipe is finished. |
GetDataView()
Gets the IData
Declaration
public IDataViewCollection GetDataView()
Returns
OnBindingContextChanged()
Invoked whenever the binding context of the control changes.
Declaration
protected override void OnBindingContextChanged()
OnHandlerChanged()
Declaration
protected override void OnHandlerChanged()
ScrollItemIntoView(Object, Boolean)
Attempts to bring the specified data item into view asynchronously.
Declaration
public void ScrollItemIntoView(object item, bool animate = true)
Parameters
System. The data item to scroll to. |
System. Whether to use scroll animation or not. |
Events
GroupTapped
Occurs when the user taps on Rad
Declaration
public event EventHandler<RadTappedEventArgs<GroupContext>> GroupTapped
Event Type
System.
|
GroupTapping
Occurs when tap is currently performing on Rad
Declaration
public event EventHandler<RadTappingEventArgs<GroupContext>> GroupTapping
Event Type
System.
|
ItemTapped
Occurs when the user taps on Rad
Declaration
public event EventHandler<RadTappedEventArgs<object>> ItemTapped
Event Type
System.
|
LoadOnDemand
Declaration
public event EventHandler<EventArgs> LoadOnDemand
Event Type
System.
|
Scrolled
Occurs when Rad
Declaration
public event EventHandler<ScrolledEventArgs> Scrolled
Event Type
System.
|
SelectionChanged
Invoked selection is performed.
Declaration
public event EventHandler<RadSelectionChangedEventArgs> SelectionChanged
Event Type
System.
|
SwipeCompleted
Occurs when swiping of an item is completed.
Declaration
public event EventHandler<CollectionViewSwipeCompletedEventArgs> SwipeCompleted
Event Type
System.
|
SwipeStarting
Occurs when item is about to be swiped.
Declaration
public event EventHandler<CollectionViewSwipeStartingEventArgs> SwipeStarting
Event Type
System.
|
Swiping
Occurs when item is currently swiping.
Declaration
public event EventHandler<CollectionViewSwipingEventArgs> Swiping
Event Type
System.
|