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?