title: Bind DropDownList to a collection in a collection of Objects
body: <p>I am attempting to bind a Dropdownlist to properties in a collection that are contained within a List of Objects.</p>
  
  <p>I have an object that has a properties collection in it so if I have an individual instance of the object I can call the property like so: </p>
  
  <pre><code>MyObject.Properties["Title"].Value.ToString();
  </code></pre>
  
  <p>Now I have a</p>
  
  <pre><code>List&lt;MyObject&gt;
  </code></pre>
  
  <p>and I would like to bind the Properties["Title"].Value.ToString to the DataValueField in a dropdown list.</p>
  
  <pre><code>dropDownList.DataSource = List&lt;MyObject&gt;
  dropDownList.DataValueField = "Title";
  dropDownList.DataBind();
  </code></pre>
  
  <p>Of course this does not work because Title is in the Properties collection and is not a property of the object.</p>
  
  <pre><code>dropDownList.DataValueField = "Properties[\"Title\"]"
  </code></pre>
  
  <p>also does not work because Properties["Title"] is also not a property of the object. I have tried a couple of other variations and am not having any luck. Is there a way to do this or do I need to iterate through the objects, make a list\dictionary of the key value pairs and use that. It seems to me there should be a way to do this. Any help is appreciated</p>