You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use a datagrid and write a style, for example DataGridCell.right. Add CellStyleClasses="right" to DataGridTextColumn, datagrid click the column header to sort, some cells can not be placed to the right normally.
#16975
Open
AreYouTry opened this issue
Sep 10, 2024
· 0 comments
When I use a datagrid and write a style, for example DataGridCell.right. Add CellStyleClasses="right" to DataGridTextColumn, datagrid click the column header to sort, some cells can not be placed to the right normally.
Describe the bug
When I use a datagrid and write a style, for example DataGridCell.right. Add CellStyleClasses="right" to DataGridTextColumn, datagrid click the column header to sort, some cells can not be placed to the right normally.
To Reproduce
this is code:
<DataGrid.Styles>
<Style Selector="DataGridRow">
</Style>
<Style Selector="DataGridCell.right">
<Style Selector="^ TextBlock">
</Style>
</Style>
</DataGrid.Styles>
<DataGrid.Columns>
</DataGrid.Columns>
Expected behavior
No response
Avalonia version
11.2.x
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: