title: WPF PropertyGrid supports multiple selection
body: <p>Is this documentation still valid or am I missing something?</p>
  
  <p><a href="http://doc.xceedsoft.com/products/XceedWpfToolkit/Xceed.Wpf.Toolkit~Xceed.Wpf.Toolkit.PropertyGrid.PropertyGrid~SelectedObjects.html" rel="noreferrer">http://doc.xceedsoft.com/products/XceedWpfToolkit/Xceed.Wpf.Toolkit~Xceed.Wpf.Toolkit.PropertyGrid.PropertyGrid~SelectedObjects.html</a></p>
  
  <p><code>PropertyGrid</code> control does not appear to have <code>SelectedObjects</code> or <code>SelectedObjectsOverride</code> members. I'm using the latest version (2.5) of the Toolkit against .NET Framework 4.0.</p>
  
  <h2>UPDATE</h2>
  
  <p>@faztp12's answer got me through. For anyone else looking for a solution, follow these steps:</p>
  
  <ol>
  <li><p>Bind your <code>PropertyGrid</code>'s <code>SelectedObject</code> property to the first selected item. Something like this:</p>
  
  <pre><code>&lt;xctk:PropertyGrid PropertyValueChanged="PG_PropertyValueChanged" SelectedObject="{Binding SelectedObjects[0]}"  /&gt;
  </code></pre></li>
  <li><p>Listen to <code>PropertyValueChanged</code> event of the <code>PropertyGrid</code> and use the following code to update property value to all selected objects.</p>
  
  <pre><code>private void PG_PropertyValueChanged(object sender, PropertyGrid.PropertyValueChangedEventArgs e)
  {
    var changedProperty = (PropertyItem)e.OriginalSource;
  
    foreach (var x in SelectedObjects) {
      //make sure that x supports this property
      var ProperProperty = x.GetType().GetProperty(changedProperty.PropertyDescriptor.Name);
  
      if (ProperProperty != null) {
  
        //fetch property descriptor from the actual declaring type, otherwise setter 
        //will throw exception (happens when u have parent/child classes)
        var DeclaredProperty = ProperProperty.DeclaringType.GetProperty(changedProperty.PropertyDescriptor.Name);
  
        DeclaredProperty.SetValue(x, e.NewValue);
      }
    }
  }
  </code></pre></li>
  </ol>
  
  <p>Hope this helps someone down the road.</p>