title: SetBinding() on Custom Image Control
body: <p>I'm stuck on the SetBinding method.</p>
  
  <p>I would like to have 2 kinds of icons in the table, there will be a boolean property and the shown icon will depend on this property. Here is an example : </p>
  
  <p><img src="https://i.stack.imgur.com/yZXOn.png" alt=""></p>
  
  <p>The problem is that I can´t change the icon. I've tried to google it for about 3 hours, without success.</p>
  
  <p>My idea was to put there Image control and than change the source dependenig on property, but i couldnt find out how to change image source.</p>
  
  <p>So I tryed to create custom sample with image template and SetBinding and here I am stuck...</p>
  
  <pre><code>  int index = 0;
  
    foreach (var item in this.VidContentItems) {
      if (item.Active == false) {
          this.FindControlInCollection("TrueOrFalse", 
              this.VidContentItems.ElementAt(index)).SetBinding(?????????);
      }
      index++;
    }
  </code></pre>
  
  <p>Or maybe I'm  totally wrong... </p>