我在笔记本上写着简单的xaml-file:
<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.