Provides a cross-platform handler for the IRadItemsControl control. This handler manages the mapping between the virtual IRadItemsControl and the native items control implementations across different platforms.
Definition
Namespace:Telerik.Maui.Handlers
Assembly:Telerik.Maui.Core.dll
Syntax:
public class RadItemsControlHandler : RadViewHandler<IRadItemsControl, RecyclerView>
Inheritance: objectRadViewHandler<IRadItemsControl, RecyclerView>RadItemsControlHandler
Inherited Members
Constructors
Initializes a new instance of the RadItemsControlHandler class with the default property mapper.
public RadItemsControlHandler()
Initializes a new instance of the RadItemsControlHandler class with the specified property mapper.
public RadItemsControlHandler(PropertyMapper mapper)
The PropertyMapper to use for property mapping, or null to use the default ItemsControlMapper.
Fields
ItemsControlMapper
PropertyMapper<IRadItemsControl, RadItemsControlHandler>
Gets the property mapper that defines how IRadItemsControl properties are mapped to native view properties. This mapper includes mappings for items source and other control-specific properties.
public static readonly PropertyMapper<IRadItemsControl, RadItemsControlHandler> ItemsControlMapper
Methods
public void BeginUpdates()
protected override void ConnectHandler(RecyclerView nativeView)
protected override void DisconnectHandler(RecyclerView nativeView)
public void EndUpdates()
public void ItemsChanged(NotifyCollectionChangedEventArgs e)
Maps the items source property from the virtual IRadItemsControl to the native view. This method handles platform-specific items source updates.
public static void MapItemsSource(RadItemsControlHandler handler, IRadItemsControl virtualElement)
The RadItemsControlHandler instance.
virtualElementIRadItemsControlThe IRadItemsControl containing the items source information.
public void OnViewMeasureInvalidated(IView view)
public void ReloadItems()