Can't suppress incorrect XAML warning?

In C# code, I can suppress just about any ReSharper warning.  Is there a way to do this in XAML?  I haven't been able to find one. :(  I'm using some Telerik controls which look a little strange in their design: you declare a Telerik HtmlDataProvider as a resource, set the RichTextBox property as a binding to a Telerik RadRichTextBox, and then stuff data into the Html property (which I'm doing via a binding to UserControl.DataContext).  ReSharper reports the resource as being unused (probably because nothing else references it), but ReSharper's analysis is incorrect.  I'd love it if there was a way to somehow suppress this feedback.  I'm using ReSharper build 5.1.1727.12.

Here's my XAML:

 
<UserControl
...
    xmlns:documentsHtml="clr-namespace:Telerik.Windows.Documents.FormatProviders.Html;assembly=Telerik.Windows.Documents.FormatProviders.Html"
...
 
>


 
  <UserControl.Resources>
...
    <documentsHtml:HtmlDataProvider x:Key="htmlDataProvider"
                                        RichTextBox="{Binding ElementName=radRichTextBox}"
                                        Html="{Binding SourceHtml, Mode=TwoWay}"
                                        SetupDocument="HtmlDataProviderSetupDocument"
                                        />
  </UserControl.Resources>



 
  <Grid>
 
...
 
    <AppCode:RadTextBox  x:Name="radRichTextBox" Height="Auto" Width="Auto"  Grid.Column="0" Grid.Row="1"
 
                            BorderBrush="{x:Null}" Margin="8,10,10,8" FontSize="14" IsReadOnly="True" 
                            VerticalContentAlignment="Top" HorizontalContentAlignment="Left" VerticalScrollBarVisibility="Auto">
 
...


 
  </Grid>


 
</UserControl>

Please sign in to leave a comment.