title: Use the new keyword if hiding was intended - ContextMenu XAML
body: <p>I am developing a WPF application and I have several warnings of this type which I cant get rid of.</p>
  
  <p>The warnings say that:</p>
  
  <p>Warning 49  'Suite.Module.SlopeExperiment.Views.OverviewSteadyStateChartView.ContextMenu' hides inherited member 'System.Windows.FrameworkElement.ContextMenu'. Use the new keyword if hiding was intended</p>
  
  <p>When i double click the warning in Visual Studio i am redirected to this XAML code:</p>
  
  <pre><code>&lt;telerik:RadCartesianChart.ContextMenu&gt;
      &lt;ContextMenu x:Name="ContextMenu"&gt;
          &lt;MenuItem Header="Export as image" Click="ExportAsImageClick"/&gt;
      &lt;/ContextMenu&gt;
  &lt;/telerik:RadCartesianChart.ContextMenu&gt;
  </code></pre>
  
  <p>Any ideas of how to get rid of this warning?</p>
  
  <p>Thanks! :)</p>