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
Initializes a new instance of the NonVirtualizedItemsControl class.
public NonVirtualizedItemsControl()
Fields
CanUnselectSingleItemProperty
BindableProperty
Identifies the CanUnselectSingleItem property.
public static readonly BindableProperty CanUnselectSingleItemProperty
DisplayMemberPathProperty
BindableProperty
Identifies the DisplayMemberPath property.
public static readonly BindableProperty DisplayMemberPathProperty
DisplayStringFormatProperty
BindableProperty
Identifies the DisplayStringFormat property.
public static readonly BindableProperty DisplayStringFormatProperty
DisplayValueConverterProperty
BindableProperty
Identifies the DisplayValueConverter property.
public static readonly BindableProperty DisplayValueConverterProperty
ItemsSourceProperty
BindableProperty
Identifies the ItemsSource bindable property.
public static readonly BindableProperty ItemsSourceProperty
ItemStyleProperty
BindableProperty
Identifies the ItemStyle property.
public static readonly BindableProperty ItemStyleProperty
ItemTappedCommandProperty
BindableProperty
Identifies the ItemTappedCommand property.
public static readonly BindableProperty ItemTappedCommandProperty
ItemTemplateProperty
BindableProperty
Identifies the ItemTemplate property.
public static readonly BindableProperty ItemTemplateProperty
OrientationProperty
BindableProperty
Identifies the Orientation bindable property.
public static readonly BindableProperty OrientationProperty
SelectedItemProperty
BindableProperty
Identifies the SelectedItem property.
public static readonly BindableProperty SelectedItemProperty
SelectedItemsProperty
BindableProperty
Identifies the SelectedItems property.
public static readonly BindableProperty SelectedItemsProperty
SelectedItemStyleProperty
BindableProperty
Identifies the SelectedItemStyle property.
public static readonly BindableProperty SelectedItemStyleProperty
SelectedItemTemplateProperty
BindableProperty
Identifies the SelectedItemTemplate property.
public static readonly BindableProperty SelectedItemTemplateProperty
SelectionModeProperty
BindableProperty
Identifies the SelectionMode property.
public static readonly BindableProperty SelectionModeProperty
Properties
Gets or sets a value indicating whether a single selected item can be unselected.
public bool CanUnselectSingleItem { get; set; }
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.
public string DisplayMemberPath { get; set; }
Gets or sets the string format used to display the items of the NonVirtualizedItemsControl.
public string DisplayStringFormat { get; set; }
DisplayValueConverter
IValueConverter
Gets or sets a IValueConverter used to display the items of the NonVirtualizedItemsControl.
public IValueConverter DisplayValueConverter { get; set; }
ItemsLayoutTemplate
DataTemplate
Gets or sets the template that defines the layout of items in the control.
public DataTemplate ItemsLayoutTemplate { get; set; }
A DataTemplate that creates the layout for items.
Gets or sets the items source for the control.
public IEnumerable ItemsSource { get; set; }
ItemStyle
Style
Gets or sets the Style applied to items in the control.
public Style ItemStyle { get; set; }
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.
public ICommand ItemTappedCommand { get; set; }
ItemTemplate
DataTemplate
Gets or sets the data template used to display items in the control.
public DataTemplate ItemTemplate { get; set; }
A DataTemplate that defines the visual representation of data items.
Orientation
StackOrientation
Gets or sets the orientation of the items control.
public StackOrientation Orientation { get; set; }
Gets or sets the currently selected item.
public object SelectedItem { get; set; }
The currently selected item, or null if no item is selected.
Gets the collection of currently selected items.
public ObservableCollection<object> SelectedItems { get; }
An ObservableCollection<T> of selected items.
SelectedItemStyle
Style
Gets or sets the Style applied to selected items in the control.
public Style SelectedItemStyle { get; set; }
A Style that defines the appearance of selected items.
SelectedItemTemplate
DataTemplate
Gets or sets the data template used to display selected items in the control.
public DataTemplate SelectedItemTemplate { get; set; }
A DataTemplate that defines the visual representation of selected data items.
SelectionMode
SelectionMode
Gets or sets the selection mode for the items control.
public SelectionMode SelectionMode { get; set; }
A SelectionMode value that specifies how items can be selected.
Methods
Called when a property value changes.
protected override void OnPropertyChanged(string propertyName = null)
The name of the property that changed.