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 CollectionView exposes a read-only property IsCurrent (bool) which gets the value that indicates whether the view is visualized as current when navigating with the keyboard. The property returns true when the border to the current item gets visualized.

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