<Window xmlns:my="clr-namespace:TestTreeView" x:Class="TestTreeView.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:TestTreeView.Model"
Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
<Grid>
<DockPanel>
<Border DockPanel.Dock="Right">
<StackPanel Orientation="Vertical" VerticalAlignment="Center" Margin="5">
<Button Name="btnSelectId" Content="选择" Click="btnSelectId_Click"></Button>
</StackPanel>
</Border>
<Border>
<my:ZsmTreeView x:Name="ztvTest" />
</Border>
</DockPanel>
</Grid>
</Window>
MainWindow.xaml
最新推荐文章于 2023-06-21 11:27:12 发布