~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/HelpViewer/Source/Controls/TocPadControl.xaml

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<UserControl
 
3
        x:Class="MSHelpSystem.Controls.TocPadControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
 
4
        <Grid>
 
5
                <TreeView
 
6
                        Name="tocTreeView"
 
7
                        SelectedValuePath="Id"
 
8
                        SelectedItemChanged="Help3TocItemChanged"
 
9
                        ItemsSource="{Binding}"
 
10
                        HorizontalAlignment="Stretch"
 
11
                        VerticalAlignment="Stretch"
 
12
                        Margin="0">
 
13
                        <TreeView.ItemTemplate>
 
14
                                <HierarchicalDataTemplate
 
15
                                        ItemsSource="{Binding Children}">
 
16
                                        <TextBlock
 
17
                                                Text="{Binding Title}" />
 
18
                                </HierarchicalDataTemplate>
 
19
                        </TreeView.ItemTemplate>
 
20
                </TreeView>
 
21
        </Grid>
 
22
</UserControl>
 
 
b'\\ No newline at end of file'