Maui.DataGrid icon indicating copy to clipboard operation
Maui.DataGrid copied to clipboard

Change background color of row when the mouse is hovering

Open daniol opened this issue 1 year ago • 1 comments

It would be nice the ability to change the background color of the row (DataGridRow) that the mouse is hovering. For example defining internally a Behavior<VisualElement> that changes the color when the events _nativeView.PointerEntered and _nativeView.PointerExited are raised, and a color property that can be set from outside.

daniol avatar May 31 '24 13:05 daniol

A fair feature request. But would only affect Windows or MacCatalyst.

For performance, disabling this feature should ensure that the events are never subscribed. It should also not subscribe when on a platform with no pointer device.

Something to think about for a future release.

symbiogenesis avatar Jun 03 '24 04:06 symbiogenesis