5-WPFTemplates-And-CustomEl.../5-17.1理解逻辑树和可视化树/VisualTreeDisplayWindow.xaml

11 lines
525 B
XML

<Window x:Class="_5_WPF模板和自定义元素.VisualTreeDisplayWindow"
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"
mc:Ignorable="d"
Title="VisualTreeDisplayWindow" Height="450" Width="800">
<Grid>
<TreeView Name="TreeViewElement" />
</Grid>
</Window>