title: Add DataSource to UserControl
body: <p>in my C# WPF interface I designed several UserControls that today are updated NOT-AUTOMATICALLY when source (string array) is changed by user or programmatically by the system.</p>
  <p>In order to semplify the code and speed-up the update I'm trying to add <strong>Datasource</strong> to my custom <strong>UserControls</strong> (e.g. the simplest one is a rectangle that change color if the source is 0 or 1) and bind the data.
  I read about <em>ComplexBindingPropertiesAttribute Class</em> but I'm not so sure thisis the right way or not.</p>
  <p>Do you have any suggestion about the possible use of <strong>Datasource</strong> I mentioned?</p>
  <p>Thanks and best regards</p>