title: Apply opacity for Grid and don't apply for its children Controls
body: <p>I apply <strong>opacity</strong> 0.75 for the <code>Grid</code> and all children which has <code>Grid</code> also take the <strong>opacity</strong>.</p>
  <p>Is it possible <strong>to exclude child Controls and don't apply opacity for them?</strong></p>
  <p>Thank you!</p>
  <p><strong>XAML</strong></p>
  <pre><code>&lt;Grid  x:Name=&quot;RootGrid&quot; Opacity=&quot;0.75&quot; Visibility=&quot;Visible&quot; ClipToBounds=&quot;False&quot;
         VerticalAlignment=&quot;Stretch&quot; HorizontalAlignment=&quot;Stretch&quot; &gt;
      &lt;local:MarqueeVer x:Name=&quot;marquee1&quot; Duration=&quot;30&quot; ClipToBounds=&quot;True&quot;
                        RenderTransformOrigin=&quot;0.5,0.5&quot; Margin=&quot;0,0,0,0&quot;
                        VerticalAlignment=&quot;Stretch&quot; HorizontalAlignment=&quot;Stretch&quot;
                        Background=&quot;Transparent&quot; Opacity=&quot;1&quot;&gt;
          &lt;StackPanel Name=&quot;lstItems&quot; FlowDirection=&quot;LeftToRight&quot; Orientation=&quot;Vertical&quot;
                      VirtualizingStackPanel.IsVirtualizing=&quot;True&quot;
                      VirtualizingStackPanel.VirtualizationMode=&quot;Recycling&quot;&gt;
          &lt;/StackPanel&gt;
      &lt;/local:MarqueeVer&gt;
  &lt;/Grid&gt;
  </code></pre>
  <p><strong>UPDATE:</strong></p>
  <p>I found some solution <a href="http://forums.silverlight.net/p/252301/630133.aspx/1?Opacity%20effect%20on%20child%20control" rel="nofollow noreferrer">here</a> but is any simpler solution?</p>
  <blockquote>
  <p>You just have to calculate the right alpha channel for each color.</p>
  </blockquote>