title: Watermark using John Myczek's Class
body: <p>Hey, I tried implementing a class John made<a href="https://stackoverflow.com/questions/833943/watermark-textbox-in-wpf/836463#836463">Watermark</a>.</p>
  
  <p>I'm stuck and wondered if anyone can help me .... Added the 2 classes mentioned
  and on the wpf:</p>
  
  <pre><code>&lt;AdornerDecorator&gt;
          &lt;ComboBox Height="23" HorizontalAlignment="Right" Margin="0,184,664,0" x:Name="cbVideoDevices" VerticalAlignment="Top" Width="316" Initialized="cbVideoDevices_Initialized" SelectionChanged="cbVideoDevices_SelectionChanged"&gt;
              &lt;Controls:WatermarkService.Watermark&gt;
                  &lt;TextBlock&gt;Type here to search text&lt;/TextBlock&gt;
              &lt;/Controls:WatermarkService.Watermark&gt;
          &lt;/ComboBox&gt;
      &lt;/AdornerDecorator&gt;
  </code></pre>
  
  <p>Whatever I try, I keep getting errors as the Control doesn't exist, or the Property does not exit. I get no errors in his classes so I figured the references are good but it seemed to me the System.Windows.Control is missing.... but I can't find it to add it ...</p>
  
  <p>Any help, much appreciated.</p>
  
  <p>Edit: With Liz's help I got this to work but to let anyone know, who does use this.</p>
  
  <ul>
  <li>The AdornerDecorator Creates a box over everything .....</li>
  <li>Create the Margin for the AdornerDecorator and move that to desired position</li>
  <li>Margin and alignments screw with where the watermark is shown ....</li>
  </ul>