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
45
XamGrid TemplateColumnLayout with empty content
posted

I used TemplateColumnLayout  to display row detail info, when detail info is empty, click the expand button, it will show an extremely large empty block(please refer the attachment), I already set RowHeight to Dynamic, but it doesn't work for this scenario. Is there a way to not show this empty block if detail info is empty, or at least make it smaller?   

Parents
  • 34510
    Offline posted

    Hi Hu Lu,

    The height for the TemplateColumnLayout is determined by the content inside the template.  When using the TemplateColumnLayout, you have to specify a DataTemplate for the Template property.  Can you provide me what you used for the DataTemplate?

Reply Children