Hello everebody. I write simple xaml-file in notepad:
<FlowDocument AllowDrop="True"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"><Paragraph />
<BlockUIContainer><Button Tag="another.xaml">Next...</Button>
</BlockUIContainer></FlowDocument>
This file contains BlockUIContainer with Button inside. Button also has Tag-property which contains reference to another xaml-file. When i load my xaml-file to FlowDocumentScrollViewer I want to click the button and load another.xaml in same FlowDocumentScrollViewer. How can i do this ? I suspect that I need to search my button, but i don't know how.
Any ideas will be wonderfull. Thanks.