2 Answers, 1 is accepted
Hi Larry,
Thank you for providing the screenshot and additional context.
After reviewing the Telerik for .NET MAUI documentation, here's how to proceed:
1. Set the HoverTextColor property through the CellContentStyle
2. Keep the existing mouse hover style unchanged
The current style configuration is still valid and can remain as is:
<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>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.
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.
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.