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

Add ActiveRowStyle property #155

Open
CodingBlob opened this issue Jan 25, 2024 · 4 comments
Open

Add ActiveRowStyle property #155

CodingBlob opened this issue Jan 25, 2024 · 4 comments

Comments

@CodingBlob
Copy link

CodingBlob commented Jan 25, 2024

As in WPF DataGrid the DataGrid should have a RowStyle property where the style for a row can be defined:
https://learn.microsoft.com/de-de/dotnet/api/system.windows.controls.datagrid.rowstyle?view=windowsdesktop-8.0

@symbiogenesis
Copy link
Collaborator

We already offer custom CellTemplate abilities on a per-column basis. And we allow customizing the RowsTextColorPalette and RowsBackgroundColorPalette using any object that inherits from IColorProvider. This allows you to make patterns based on the row order. And we allow customizing the color for the selected row via the ActiveRowColor property.

As such, I think there isn't much more that we need to provide.

@symbiogenesis
Copy link
Collaborator

If you provide a more complete proposal for exactly how and why this is needed, over and above the features we currently offer, then please open a new issue.

Also, pull requests are welcome.

@CodingBlob
Copy link
Author

I wanted to highlight rows based on a search text with a border around the row. As far as i know this is currently not possible.

@symbiogenesis symbiogenesis reopened this Jan 27, 2024
@symbiogenesis
Copy link
Collaborator

symbiogenesis commented Jan 27, 2024

I suppose an ActiveRowStyle may be possible. I will leave this open for future consideration and PRs, but don't plan to do this myself at the moment.

@symbiogenesis symbiogenesis changed the title Add RowStyle property Add ActiveRowStyle property Jan 27, 2024
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