0

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?

SKN
  • 520
  • 1
  • 5
  • 20
  • Sorry I don't understand your question. You want to change the "Thickness" value ? – Mathieu Aug 26 '16 at 07:50
  • I just want to get the value of Content which is "Thickness" – SKN Aug 26 '16 at 08:06
  • It's hard to help you because I don't own telerik components. By the I think you missed a part in your code between ItemElements and Content, like .Items[0] – Mathieu Aug 26 '16 at 09:48

0 Answers0