Hi,
I'm using a XamlDataGrid bound to a set of Business Objects, this objects has the following structure:
public class MyObject{
private MyObject2 _o2 = new MyObject2(); public MyObject2 O2 { get { return _o2; } set { _o2 = value; } }
}
public class MyObject2 { public string Name
{ get; set; } }
After doing this binding, nothing on the grid is rendered, i think that it crashes. So i will like to know why is this happening, and how can i achieve this type of binding.
After I remove this column, for testing purposes, the grid is rendered, but this message is appearing on the output window of visual studio.
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='36939349'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='RecordSelector: DataRecord- 1 jjj: xxxxxxx'; TargetElement.HashCode='38118303'; TargetElement.Type='Infragistics.Windows.DataPresenter.RecordSelector'
Does anyone has any idea to fix this issue?
Thanks for your reply! Now I in some case understand why the columns are not shown. But I really need to bind these kind of properties. So I will like to know if this type of binding or association can be achieved by the Infragistics Grid or we will need to change the control provider, since this is a requirement of our customer.
You can accomplish this by creating an UnboundField and setting its BindingPath attribute: