MarkTreeUserControl.xaml 1.5 KB

123456789101112131415161718192021
  1. <UserControl x:Class="ivf_tl_Manage.UserControls.MarkTreeUserControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:ivf_tl_Manage.UserControls"
  7. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_PC"
  8. mc:Ignorable="d"
  9. FontFamily="{StaticResource sourceHan}"
  10. Width="1690" x:Name="_MarkTreeUserControl">
  11. <Grid x:Name="root" Background="{Binding ElementName=_MarkTreeUserControl,Path=BackgroundSource}">
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="56"/>
  14. <RowDefinition Height="auto"/>
  15. </Grid.RowDefinitions>
  16. <local:MarkTreeItemUserControl x:Name="test1" Grid.Row="0" ExpandedEvent="Item_ExpandedEvent" MarkOperEvent="MarkTreeItemUserControl_MarkOperEvent"
  17. MarkSource="{Binding ElementName=_MarkTreeUserControl,Path=MarkSource}"
  18. RectangleFill="{Binding ElementName=_MarkTreeUserControl,Path=RectangleFill}"/>
  19. <local:MarkTreeItemsControlUserControl x:Name="list" Grid.Row="1" RectangleFill="{Binding ElementName=_MarkTreeUserControl,Path=RectangleFill}" MarkOperEvent="MarkTreeItemUserControl_MarkOperEvent"/>
  20. </Grid>
  21. </UserControl>