Check out example codes for "iterate through xpdictionary devexpress". It will help you in understanding the concepts better.
Code Example 1
foreach (DevExpress.Xpo.Metadata.XPClassInfo item in xpDictionary.Classes)
{
//…
}
Learn ReactJs, React Native from akashmittal.com