How to access Content of a ComboBox.ItemElements?

27 Views Asked by At

I'm stuck in accessing the Content of comboBox.ItemElements which is as enter code herehighlighted below. I'm unable to figure out what is the probable reason.

enter image description here

If I copy the expression in debug view this is how it is:

  ((ArtOfTest.WebAii.Silverlight.UI.ContentControl)new System.Collections.Generic.Mscorlib_CollectionDebugView<Telerik.WebAii.Controls.Xaml.IRadComboBoxItem>(comboBox.ItemElements).Items[0]).Content 
    "Thickness"

Here is what I'm trying to do: var itemContent = comboBox.ItemElements.Content
Could anyone please suggest?

0

There are 0 best solutions below