ClassNonVirtualizedItemsControl
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:
public class NonVirtualizedItemsControl : RadLayout
Inheritance: objectRadLayoutNonVirtualizedItemsControl
Derived Classes:
Inherited Members
Constructors
NonVirtualizedItemsControl()
Initializes a new instance of the NonVirtualizedItemsControl class.
Declaration
public NonVirtualizedItemsControl()
Fields
CanUnselectSingleItemProperty
Identifies the CanUnselectSingleItem property.
Declaration
public static readonly BindableProperty CanUnselectSingleItemProperty
Field Value
BindableProperty
DisplayMemberPathProperty
Identifies the DisplayMemberPath property.
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
BindableProperty
DisplayStringFormatProperty
Identifies the DisplayStringFormat property.
Declaration
public static readonly BindableProperty DisplayStringFormatProperty
Field Value
BindableProperty
DisplayValueConverterProperty
Identifies the DisplayValueConverter property.
Declaration
public static readonly BindableProperty DisplayValueConverterProperty
Field Value
BindableProperty
ItemStyleProperty
Identifies the ItemStyle property.
Declaration
public static readonly BindableProperty ItemStyleProperty
Field Value
BindableProperty
ItemTappedCommandProperty
Identifies the ItemTappedCommand property.
Declaration
public static readonly BindableProperty ItemTappedCommandProperty
Field Value
BindableProperty
ItemTemplateProperty
Identifies the ItemTemplate property.
Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
BindableProperty
ItemsSourceProperty
Identifies the ItemsSource bindable property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
BindableProperty
OrientationProperty
Identifies the Orientation bindable property.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
BindableProperty
SelectedItemProperty
Identifies the SelectedItem property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
BindableProperty
SelectedItemStyleProperty
Identifies the SelectedItemStyle property.
Declaration
public static readonly BindableProperty SelectedItemStyleProperty
Field Value
BindableProperty
SelectedItemTemplateProperty
Identifies the SelectedItemTemplate property.
Declaration
public static readonly BindableProperty SelectedItemTemplateProperty
Field Value
BindableProperty
SelectedItemsProperty
Identifies the SelectedItems property.
Declaration
public static readonly BindableProperty SelectedItemsProperty
Field Value
BindableProperty
SelectionModeProperty
Identifies the SelectionMode property.
Declaration
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
public bool CanUnselectSingleItem { get; set; }
Property Value
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.
DisplayStringFormat
Gets or sets the string format used to display the items of the NonVirtualizedItemsControl.
DisplayValueConverter
Gets or sets a IValueConverter used to display the items of the NonVirtualizedItemsControl.
Declaration
public IValueConverter DisplayValueConverter { get; set; }
Property Value
IValueConverter
ItemStyle
Gets or sets the Style applied to items in the control.
Declaration
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
public ICommand ItemTappedCommand { get; set; }
Property Value
ItemTemplate
Gets or sets the data template used to display items in the control.
Declaration
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
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
public IEnumerable ItemsSource { get; set; }
Property Value
Orientation
Gets or sets the orientation of the items control.
Declaration
public StackOrientation Orientation { get; set; }
Property Value
StackOrientation
SelectedItem
Gets or sets the currently selected item.
Declaration
public object SelectedItem { get; set; }
Property Value
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
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
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
public ObservableCollection<object> SelectedItems { get; }
Property Value
An ObservableCollection<T> of selected items.
SelectionMode
Gets or sets the selection mode for the items control.
Declaration
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
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
The name of the property that changed.