title: Make a rectangle transparent
body: <p>In WPF, I have rectangle like this:</p>
  
  <pre><code>&lt;Rectangle Grid.Column="1" Name="rectangleSignal" HorizontalAlignment="Left" Width="20" Height="20" &gt;
      &lt;Rectangle.Fill&gt;
          &lt;StaticResource ResourceKey="image0" /&gt;
      &lt;/Rectangle.Fill&gt;
  &lt;/Rectangle&gt;
  </code></pre>
  
  <p>In .cs file. In some cases, I want to set this rectangle to be transparent.
  I have code like this,
  What should I do for Resourcekey, that I can make this rectangele be transparent?
  thank you  </p>
  
  <pre><code>rectangleSignal.SetResourceReference(Rectangle.FillProperty, "image0");
  </code></pre>
  
  <p>Edited:</p>
  
  <p>I figured out myself.
  Just setting peroperty to "#FFFFFFFF"
  It will be fine.
  Thanks everyone.</p>