79447502

Date: 2025-02-18 08:05:39
Score: 1.5
Natty:
Report link

To highlight the item in the collectionview when the mouse is hovering it, you can just use the VisualStateManager PointOver state.

<VisualState Name="PointerOver">
   <VisualState.Setters>
       <Setter Property="BackgroundColor" Value="Red" />
   </VisualState.Setters>
</VisualState>

Source: https://learn.microsoft.com/en-us/dotnet/maui/user-interface/visual-states?view=net-maui-9.0

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Skittles86