Skip to content

How to set TreeDataGrid RowHeight? #17926

Answered by msneijders
nasterhe asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nasterhe
Comment options

Answer selected by nasterhe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants