CardAxisView.xaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <UserControl x:Class="CardAxisModule.Views.CardAxisView"
  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:CardAxisModule.Views"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="Auto" />
  12. <RowDefinition />
  13. </Grid.RowDefinitions>
  14. <StackPanel Grid.Row="0"
  15. Orientation="Horizontal"
  16. Name="stackpanel1">
  17. <Line X1="5"
  18. Y1="2"
  19. X2="5"
  20. Y2="26"
  21. Stroke="#0F8CDC"
  22. StrokeThickness="3">
  23. </Line>
  24. <StackPanel>
  25. <TextBlock Text="板卡控制轴"
  26. FontSize="22" />
  27. <Line X1="0"
  28. Y1="0"
  29. X2="{Binding ElementName=stackpanel1, Path=ActualWidth}"
  30. Y2="0"
  31. Stroke="#0F8CDC"
  32. StrokeThickness="2">
  33. </Line>
  34. </StackPanel>
  35. </StackPanel>
  36. <Grid Grid.Row="1"></Grid>
  37. </Grid>
  38. </UserControl>