<UserControl x:Class="compdfkit_tools.PDFControlUI.CPDFOutlineUI" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:compdfkit_tools.PDFControlUI" d:DataContext="{d:DesignInstance Type=local:CPDFOutlineUI}" mc:Ignorable="d" d:DesignHeight="600" d:DesignWidth="300" Background="#FAFCFF"> <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/compdfkit-assets;component/Styles/TreeViewItemStyle.xaml"></ResourceDictionary> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </UserControl.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition Height="auto"></RowDefinition> <RowDefinition Height="*"></RowDefinition> </Grid.RowDefinitions> <Border Height="50"> <TextBlock Foreground="#43474D" VerticalAlignment="Center" Margin="16,0,0,0" FontSize="14">Outline</TextBlock> </Border> <Grid Grid.Row="1"> <TreeView Name="OutlineTree" BorderThickness="0" Background="#FAFCFF" FontSize="14" Margin="8,0,0,0" SelectedItemChanged="OutlineTree_SelectedItemChanged"> <TreeView.Resources> <Style TargetType="TreeViewItem" BasedOn="{StaticResource TreeViewItemStyle}"/> </TreeView.Resources> </TreeView> <TextBlock Name="NoResultText" Foreground="#43474D" FontSize="14" LineHeight="16" VerticalAlignment="Center" HorizontalAlignment="Center">No Results</TextBlock> </Grid> </Grid> </UserControl>