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
2385
adjust row height by code
posted

How to adjust row height by code? Does 10.3 support this?

  • 138253
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post and “Yes” version 10.3 support this, so I suggest you use the following code in order to iterate trough the XamDataGrid’s Records and set their height:

     

    foreach (var item in xamDataGrid1.Records)
    {
        DataRecordPresenter.FromRecord(item).Height = 50;
    }
     

    
    

    Feel free to write me if you have further questions.