Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

SelectionChanged event is not working in case of footnote in word document

$
0
0

Hi

I have a desktop application that will search some text in word document and show in right hand side pane. and on selection of particular finding it will highlight the text in word doc.

but if the document is having some footnote then selection change is not working properly, the text is not getting highlighted in the footnote.

whats the difference in normal text and footnote selection. how do I handle this.

private void Grid_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (Grid.SelectedItem != null)
            {
                this.SelectedIndex = Grid.SelectedIndex;
            }
            e.Handled = true;

        }
Thanks.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>