XAML & Flow Documents
For WPF projects in Visual Studio 2005 you can have the project display a Flow Document when starting.In the App.Xaml file, for the < Application> element add the following attribute:
StartupUri="FlowDocument1.xaml"
With this approach it is easy to see what the associated flow document looks like. Just run the project using F5 (Start Debugging) or <Shift> F5 (Start Without Debugging).
Note that Flow Documents cannot be viewed in design mode within Visual Studio 2005, so this technique provides an easy way to see the actual formatting of a Flow Document.
0 Comments:
Post a Comment
<< Home