added samples
[windows-sources.git] / sdk / samples / WPFSamples / TableVBAddContent / csharp / window1.xaml
blob12a4b7f69ed37e6a68286f28ca85fb3915bd01f7
1 <Window 
2     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
4     x:Class="SDKSample.Window1"
5     Title="Add Content to a Table">
7   <FlowDocumentScrollViewer HorizontalAlignment="Left" VerticalAlignment="Top">
8     <FlowDocument>
9       <Paragraph>
10         <Button Canvas.Left="5" Click="AddRow">Add a New TableRow to the Table</Button>
11       </Paragraph>
13       <Table CellSpacing="5" Name="table1">
14         <Table.Columns>
15           <TableColumn/>
16         </Table.Columns>
17         <TableRowGroup Name="trg1">
18           <TableRow>
19             <TableCell>
20               <Paragraph FontSize="14pt">TableRow</Paragraph>
21             </TableCell>
22           </TableRow>
23         </TableRowGroup>
24       </Table>
25     </FlowDocument>
26   </FlowDocumentScrollViewer>
27 </Window>