Class
NonVirtualizedItemsControl

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:

cs-api-definition
public class NonVirtualizedItemsControl : RadLayout

Inheritance: objectRadLayoutNonVirtualizedItemsControl

Derived Classes: CardActionsListViewCardPickerViewItemPickerViewSuggestedActionsViewTimePickerListView

Inherited Members RadLayout.CreateLayoutManager()

Constructors

NonVirtualizedItemsControl()

Initializes a new instance of the NonVirtualizedItemsControl class.

Declaration

cs-api-definition
public NonVirtualizedItemsControl()

Fields

CanUnselectSingleItemProperty

Identifies the CanUnselectSingleItem property.

Declaration

cs-api-definition
public static readonly BindableProperty CanUnselectSingleItemProperty

Field Value

BindableProperty

DisplayMemberPathProperty

Identifies the DisplayMemberPath property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayMemberPathProperty

Field Value

BindableProperty

DisplayStringFormatProperty

Identifies the DisplayStringFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayStringFormatProperty

Field Value

BindableProperty

DisplayValueConverterProperty

Identifies the DisplayValueConverter property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayValueConverterProperty

Field Value

BindableProperty

ItemStyleProperty

Identifies the ItemStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemStyleProperty

Field Value

BindableProperty

ItemTappedCommandProperty

Identifies the ItemTappedCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemTappedCommandProperty

Field Value

BindableProperty

ItemTemplateProperty

Identifies the ItemTemplate 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

OrientationProperty

Identifies the Orientation bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty OrientationProperty

Field Value

BindableProperty

SelectedItemProperty

Identifies the SelectedItem property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedItemProperty

Field Value

BindableProperty

SelectedItemStyleProperty

Identifies the SelectedItemStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedItemStyleProperty

Field Value

BindableProperty

SelectedItemTemplateProperty

Identifies the SelectedItemTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedItemTemplateProperty

Field Value

BindableProperty

SelectedItemsProperty

Identifies the SelectedItems property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedItemsProperty

Field Value

BindableProperty

SelectionModeProperty

Identifies the SelectionMode property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectionModeProperty

Field Value

BindableProperty

Properties

CanUnselectSingleItem

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

Declaration

cs-api-definition
public bool CanUnselectSingleItem { get; set; }

Property Value

bool

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

DisplayMemberPath

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

Declaration

cs-api-definition
public string DisplayMemberPath { get; set; }

Property Value

string

DisplayStringFormat

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

Declaration

cs-api-definition
public string DisplayStringFormat { get; set; }

Property Value

string

DisplayValueConverter

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

Declaration

cs-api-definition
public IValueConverter DisplayValueConverter { get; set; }

Property Value

IValueConverter

ItemStyle

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

Declaration

cs-api-definition
public Style ItemStyle { get; set; }

Property Value

Style

A Style that defines the appearance of items.

ItemTappedCommand

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.

Declaration

cs-api-definition
public ICommand ItemTappedCommand { get; set; }

Property Value

ICommand

ItemTemplate

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

Declaration

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

Property Value

DataTemplate

A DataTemplate that defines the visual representation of data items.

ItemsLayoutTemplate

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

Declaration

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

Property Value

DataTemplate

A DataTemplate that creates the layout for items.

ItemsSource

Gets or sets the items source for the control.

Declaration

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

Property Value

IEnumerable

Orientation

Gets or sets the orientation of the items control.

Declaration

cs-api-definition
public StackOrientation Orientation { get; set; }

Property Value

StackOrientation

SelectedItem

Gets or sets the currently selected item.

Declaration

cs-api-definition
public object SelectedItem { get; set; }

Property Value

object

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

SelectedItemStyle

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

Declaration

cs-api-definition
public Style SelectedItemStyle { get; set; }

Property Value

Style

A Style that defines the appearance of selected items.

SelectedItemTemplate

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

Declaration

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

Property Value

DataTemplate

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

SelectedItems

Gets the collection of currently selected items.

Declaration

cs-api-definition
public ObservableCollection<object> SelectedItems { get; }

Property Value

ObservableCollection<object>

An ObservableCollection<T> of selected items.

SelectionMode

Gets or sets the selection mode for the items control.

Declaration

cs-api-definition
public SelectionMode SelectionMode { get; set; }

Property Value

SelectionMode

A SelectionMode value that specifies how items can be selected.

Methods

OnPropertyChanged(string)

Called when a property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

The name of the property that changed.