Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
Extra space is created for TemplateColumn after resizing XamGrid
posted

Hi,

I am using xamgrid to display data in an expandable manner. I have created one grid in a data template and I’m assigning it as a Template to TemplateColumnLayout. The problem is that when i minimize the bowser window the text in my inner grid (i.e. simple grid in a data template) wraps and the row height increases. But when i maximize the browser window the grid row height doesn't come to normal state which creates extra spaces in grid below text.

Please help me asap.

Thanks in advance.

Parents
No Data
Reply
  • 40030
    Verified Answer
    Offline posted

    Hi, 

    You have 2 options. 

    1.  Set a fixed RowHeight for the TemplateColumnLayout. 

    2. If you want it to grow and shrink with the content, set the RowHeight property to Dynamic.

    -SteveZ

Children