New to Telerik UI for .NET MAUI? Start a free 30-day trial

.NET MAUI CollectionView Current Item

The Telerik UI for .NET MAUI CollectionView provides options for configuring the behavior and style of its current item.

Setting the Behavior

The CollectionView allows you to use the CurrentItem property of type object to programmatically modify the current item during keyboard navigation, when using the mouse, and so on.

The RadCollectionViewItemView exposes a read-only property IsCurrent (bool) which gets the value indicating whether the view is visualized as current during keyboard navigation. The property returns true when the border of the current item is visualized.

Access the RadCollectionViewItemView through the ItemViewStyle.

Styling the Item

You can style the current item by setting the Focused, FocusedSelected, and FocusedMouseOver visual states of the CollectionView. Define the visual states by using the Item Styling of the CollectionView.

Additional Resources

See Also

In this article