I tweaked the FeatureDataGrid Style by adding a button. I set the button in my resources (style for FeatureDataGrid). I added a new button and set it the Visibility to Collapsed
<Button x:Name="SeeRelateButton" Margin="5,0" Click="SeeRelateButton_Click">
<TextBlock Margin="5" Text="See Relate" VerticalAlignment="Center" Visibility="Collapsed"/>
</Button>
Now I have some code in my C# and I want to make that button visible when something happens in my C# page. How would I do this MyFDG.Resources["SeeRelateButton"].Visibility = Visibility.Visible; ????????????????ThanksNathalie