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
990
Strange problem
posted

I have an object of type BindingList<MyObject> and MyObject is composed of:

class MyObject
{
  public string Name { get; set; }
  public BindingList<MyObject> MyObjects { get; set; }
}

I have bind my object to a XamDataGrid but this happens in the result 

XamDataGrid shows me an unnecessary scroll bar. I discovered that to solve this problem, just insert this instruction "if (e.Record! = Null & &! E.Record.HasChildren) e.Record.ExpansionIndicatorVisibility = Visibility.Hidden" in event InitializeRecord of XamDataGrid. My question is, this behavior is not a bug?

Parents
No Data
Reply
  • 69686
    posted

    Hello Matteo,

    This looks like an issue. I can reproduce this only when I expand, collapse and then expand again the record. Can you confirm that or the scrollbar appears as soon as the grid load?

    I am going to create a support case on your behalf and continue this discussion there.

    Regards,

    Alex

Children