Print Page | Close Window

Populating treeview with properties like XtraGridBindingManager

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1792
Printed Date: 18-Jan-2020 at 6:27pm


Topic: Populating treeview with properties like XtraGridBindingManager
Posted By: sky40627
Subject: Populating treeview with properties like XtraGridBindingManager
Date Posted: 06-May-2010 at 10:10am
I would like to find out how the XtraGridBindingManager is building up the properties treeview
 
I got to the point of getting the properties, but still not the related properties
 

Entity emp = _entityManager.GetNullEntity<T>();

foreach (var item in emp.EntityAspect.EntityMetadata.EntityProperties)

{

listOfProperties.Add(item);

}

foreach (var item in emp.EntityAspect.EntityMetadata.NavigationProperties)

{

listOfProperties.Add(item);

}



Print Page | Close Window