Home Forums WPF controls Xceed DataGrid for WPF Max Row Height

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #25777 |

    Hi – I’m trying to set a max row height in the DataGridControl + Table view. Specifically I want an image to always show up as 16×16 in a cell, right now it seems like its closer to 48×48.

    Imported from legacy forums. Posted by Bill (had 2313 views)

    User (Old forums)
    Member
    Post count: 23064

    Answer:

    <Grid.Resources>

    <Style TargetType=”{x:Type xcdg:DataRow}”>
    <Setter Property=”Height” Value=”16″/>

    —end tags

    I find it strange you can’t set these things in the initialization of the control itself, but you have to set them with runtime “setters” for the Style.

    Imported from legacy forums. Posted by Bill (had 2813 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.