title: How do I get rid of "[some event] never used" compiler warnings in Visual Studio?
body: <p>For example, I get this compiler warning,</p>
  
  <blockquote>
    <p>The event 'Company.SomeControl.SearchClick' is never used.</p>
  </blockquote>
  
  <p>But I know that it's used because commenting it out throws me like 20 new warnings of XAML pages that are trying to use this event!</p>
  
  <p>What gives? Is there a trick to get rid of this warning?</p>