Is it possible to completely disable mousehover on windows?

1 Answer 5 Views
DataGrid
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
Larry asked on 21 Aug 2025, 01:42 AM

Other than using InputTransparent = true, which also blocks scrolling.

This is to avoid the interaction of mousehover and cellcontentselector.

1 Answer, 1 is accepted

Sort by
1
Denis
Telerik team
answered on 21 Aug 2025, 09:02 AM

Hi Larry,

In Telerik DataGrid for .NET MAUI , there is no direct property to disable the mouse hover. The control exposes a styling option which you can use - MouseHoverStyle property. To remove the hover style, set the color to transparent and border thickness to 0. Here is an example:

<telerik:RadDataGrid x:Name="grid">
    <telerik:RadDataGrid.MouseHoverStyle>
        <Style TargetType="telerik:DataGridMouseHoverAppearance">
            <Setter Property="BackgroundColor" Value="Transparent" />
            <Setter Property="BorderColor" Value="Transparent" />
            <Setter Property="BorderThickness" Value="0" />
        </Style>
    </telerik:RadDataGrid.MouseHoverStyle>
</telerik:RadDataGrid>

Regards,
Denis
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Larry
Top achievements
Rank 1
Iron
Iron
Veteran
commented on 21 Aug 2025, 06:10 PM

Thanks. Try this on a grid that uses a CellContentSelector. Here's a screenshot of my scenario (a jillion hours in, I don't believe it is possible to have no interaction from the mousehover in my scenario). I worked extensively with the DataGrid Hover Cell and could access the data needed to make the hover 'invisible' to the user. And I failed at the styling part after trying numerous approaches. Maybe with the intimate knowledge you folks have of the underpinnings, you can concoct something?

In the screenshot, note how the two leftmost columns use a CellContentSelector and how the hover messes them up.

Larry
Top achievements
Rank 1
Iron
Iron
Veteran
commented on 21 Aug 2025, 10:11 PM

Also, note I am using a Dark Theme.
Tags
DataGrid
Asked by
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Denis
Telerik team
Share this question
or