Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change background color of row when the mouse is hovering #182

Open
daniol opened this issue May 31, 2024 · 1 comment
Open

Change background color of row when the mouse is hovering #182

daniol opened this issue May 31, 2024 · 1 comment

Comments

@daniol
Copy link

daniol commented May 31, 2024

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.

@symbiogenesis
Copy link
Collaborator

symbiogenesis commented Jun 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants