How to set TreeDataGrid RowHeight? #17926
-
Unlike DataGrid can use RowHeight, please how to set the RowHeight of TreeDataGrid, thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
msneijders
Jan 8, 2025
Replies: 1 comment 1 reply
-
I am not sure if it is the common way to go about it with TreeDataGrid: but such things could be done using styles, i.e.: For a rows with a minimum height of 100: <TreeDataGrid>
<TreeDataGrid.Styles>
<Style Selector="TreeDataGridRow">
<Setter Property="MinHeight" Value="100" />
</Style>
</TreeDataGrid.Styles>
</TreeDataGrid> Or set any other styleable property of a TreeDataGridRow like Height. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nasterhe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not sure if it is the common way to go about it with TreeDataGrid: but such things could be done using styles, i.e.:
For a rows with a minimum height of 100:
Or set any other styleable property of a TreeDataGridRow like Height.