Home Forums WPF controls Xceed DataGrid for WPF How to resize ROWS ??

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

    Hello,

    I want to resize all rows of my DataGridControl, but i can’t find this feature. Help please ! 

    Imported from legacy forums. Posted by azerty (had 1305 views)

    Xceed Support
    Member
    Post count: 5658

    Depending on which type of View you are using on the DataGridControl, there are two ways of doing what you wish.

    For the TableView, simply set the Style of the DataRow elements to have the Height you need.

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

    For the TableflowView, set its ContainerHeight value to the desired height.

       <xcdg:DataGridControl.View>
          <xcdg:TableflowView ContainerHeight=”40″ />
       </xcdg:DataGridControl.View>

    I hope theses code examples will help you in what you need.

     

    Imported from legacy forums. Posted by Sebastien [Xceed] (had 1385 views)

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