Mega Code Archive

 
Categories / C# / WPF
 

FlowDocument with UI container

<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">   <BlockUIContainer>     <Viewbox>       <StackPanel Orientation="Horizontal">         <Image Source="c:\image.jpg" Margin="5"/>         <TextBlock VerticalAlignment="Center" Width="100" TextWrapping="Wrap">           The technologies in the .NET Framework 3.0.         </TextBlock>       </StackPanel>     </Viewbox>   </BlockUIContainer> </FlowDocument>