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

A non-virtualized items control that uses a StackLayout for an items panel.

Definition

Namespace:Telerik.Maui.Controls.DataControls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class NonVirtualizedItemsControl : RadLayout

Inheritance: objectRadLayoutNonVirtualizedItemsControl

Derived Classes: CardActionsListViewCardPickerViewItemPickerViewSuggestedActionsViewTimePickerListView

Inherited Members RadLayout.CreateLayoutManager()

Constructors

Initializes a new instance of the NonVirtualizedItemsControl class.

C#
public NonVirtualizedItemsControl()

Fields

Identifies the CanUnselectSingleItem property.

C#
public static readonly BindableProperty CanUnselectSingleItemProperty

Identifies the DisplayMemberPath property.

C#
public static readonly BindableProperty DisplayMemberPathProperty

Identifies the DisplayStringFormat property.

C#
public static readonly BindableProperty DisplayStringFormatProperty

Identifies the DisplayValueConverter property.

C#
public static readonly BindableProperty DisplayValueConverterProperty

ItemsSourceProperty

BindableProperty

Identifies the ItemsSource bindable property.

C#
public static readonly BindableProperty ItemsSourceProperty

ItemStyleProperty

BindableProperty

Identifies the ItemStyle property.

C#
public static readonly BindableProperty ItemStyleProperty

Identifies the ItemTappedCommand property.

C#
public static readonly BindableProperty ItemTappedCommandProperty

ItemTemplateProperty

BindableProperty

Identifies the ItemTemplate property.

C#
public static readonly BindableProperty ItemTemplateProperty

OrientationProperty

BindableProperty

Identifies the Orientation bindable property.

C#
public static readonly BindableProperty OrientationProperty

SelectedItemProperty

BindableProperty

Identifies the SelectedItem property.

C#
public static readonly BindableProperty SelectedItemProperty

SelectedItemsProperty

BindableProperty

Identifies the SelectedItems property.

C#
public static readonly BindableProperty SelectedItemsProperty

Identifies the SelectedItemStyle property.

C#
public static readonly BindableProperty SelectedItemStyleProperty

Identifies the SelectedItemTemplate property.

C#
public static readonly BindableProperty SelectedItemTemplateProperty

SelectionModeProperty

BindableProperty

Identifies the SelectionMode property.

C#
public static readonly BindableProperty SelectionModeProperty

Properties

Gets or sets a value indicating whether a single selected item can be unselected.

C#
public bool CanUnselectSingleItem { get; set; }
Property Value:

true if a single selected item can be unselected; otherwise, false. The default value is true.

Gets or sets a path to the property used to display the items of the NonVirtualizedItemsControl.

C#
public string DisplayMemberPath { get; set; }

Gets or sets the string format used to display the items of the NonVirtualizedItemsControl.

C#
public string DisplayStringFormat { get; set; }

DisplayValueConverter

IValueConverter

Gets or sets a IValueConverter used to display the items of the NonVirtualizedItemsControl.

C#
public IValueConverter DisplayValueConverter { get; set; }

Gets or sets the template that defines the layout of items in the control.

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

A DataTemplate that creates the layout for items.

Gets or sets the items source for the control.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets the Style applied to items in the control.

C#
public Style ItemStyle { get; set; }
Property Value:

A Style that defines the appearance of items.

Gets or sets the command that is executed when an item gets tapped. The parameter of this command is the business item that was tapped, i.e. an item from the ItemsSource.

C#
public ICommand ItemTappedCommand { get; set; }

ItemTemplate

DataTemplate

Gets or sets the data template used to display items in the control.

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

A DataTemplate that defines the visual representation of data items.

Orientation

StackOrientation

Gets or sets the orientation of the items control.

C#
public StackOrientation Orientation { get; set; }

Gets or sets the currently selected item.

C#
public object SelectedItem { get; set; }
Property Value:

The currently selected item, or null if no item is selected.

Gets the collection of currently selected items.

C#
public ObservableCollection<object> SelectedItems { get; }
Property Value:

An ObservableCollection<T> of selected items.

Gets or sets the Style applied to selected items in the control.

C#
public Style SelectedItemStyle { get; set; }
Property Value:

A Style that defines the appearance of selected items.

Gets or sets the data template used to display selected items in the control.

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

A DataTemplate that defines the visual representation of selected data items.

SelectionMode

SelectionMode

Gets or sets the selection mode for the items control.

C#
public SelectionMode SelectionMode { get; set; }
Property Value:

A SelectionMode value that specifies how items can be selected.

Methods

Called when a property value changes.

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

The name of the property that changed.