SeconToolLibraryPage.xaml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <Page x:Class="CollaborativePlatformMain.Form.MessageSubPage.SeconToolLibraryPage"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:CollaborativePlatformMain.Form.MessageSubPage"
  7. mc:Ignorable="d"
  8. Title="SeconContactsPage" Width="663" Height="420"
  9. Loaded="Window_Loaded">
  10. <DockPanel>
  11. <StackPanel Name="sp_tools" Width="100" HorizontalAlignment="Left" Background="WhiteSmoke">
  12. <Button Name="bt_bock" Content="块处理" Width="180" Height="30" Click="bt_bock_Click"/>
  13. <Button Name="bt_Comparison" Content="图纸对比" Width="180" Height="30" Click="bt_Comparison_Click"/>
  14. <Button Name="bt_twoReview" Content="二维审查" Width="180" Height="30" Click="bt_twoReview_Click"/>
  15. <Button Name="bt_text" Content="文字处理" Width="180" Height="30" Click="bt_text_Click"/>
  16. </StackPanel>
  17. <!--最右边-->
  18. <StackPanel Height="420" VerticalAlignment="Top" Width="563"
  19. Margin="0 0 0 0" HorizontalAlignment="Left">
  20. <StackPanel Height="390">
  21. <ScrollViewer VerticalScrollBarVisibility="Auto" Padding="0,0,0,20">
  22. <ItemsControl x:Name="sv_legend" >
  23. <ItemsControl.ItemsPanel>
  24. <ItemsPanelTemplate>
  25. <WrapPanel/>
  26. </ItemsPanelTemplate>
  27. </ItemsControl.ItemsPanel>
  28. <ItemsControl.ItemTemplate>
  29. <DataTemplate>
  30. <StackPanel MouseDown="StackPanel_MouseDown" Margin="10,0,0,0">
  31. <StackPanel Margin="5" Height="32" Width="32" Background="Aquamarine">
  32. </StackPanel>
  33. <TextBlock Name="tb_name" Text="{Binding FuncitonName}" HorizontalAlignment="Center" />
  34. <CheckBox Name="cb_check" IsChecked="{Binding IsCheck}" Margin="0 5 0 0" HorizontalAlignment="Center" />
  35. <!--<Image Source="{Binding ImagePath}" Width="90" Height="60" HorizontalAlignment="Center"/>--><!--
  36. <StackPanel Width="20" Height="20" Background="{DynamicResource Blue}"/>
  37. <Label Name="lb_legendName" Content="{Binding FuncitonName}" BorderThickness="0" HorizontalAlignment="Center"/>
  38. <CheckBox IsChecked="{Binding IsCheck}" Margin="20,0,0,0" HorizontalAlignment="Center"/>-->
  39. </StackPanel>
  40. </DataTemplate>
  41. </ItemsControl.ItemTemplate>
  42. </ItemsControl>
  43. </ScrollViewer>
  44. </StackPanel>
  45. <DockPanel VerticalAlignment="Bottom">
  46. <Button HorizontalAlignment="Right" Margin="0 0 20 0" Width="110" Click="bt_addTools" Content="添加漂浮工具" />
  47. </DockPanel>
  48. </StackPanel>
  49. </DockPanel>
  50. </Page>