前端转vue
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LeadTradeViewer.xaml 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <UserControl x:Class="TellerSystem.Controls.Ext.Controls.LeadTradeViewer"
  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:dhcc="http://www.dhcc.com.cn"
  6. xmlns:local="clr-namespace:TellerSystem.Controls.Ext.ControlsExt"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:tp="clr-namespace:TellerSystem.Controls.Ext.TradePageBase"
  9. mc:Ignorable="d">
  10. <UserControl.Resources>
  11. <Style x:Key="ControlStyle1" TargetType="{x:Type ContentControl}">
  12. <Setter Property="Template">
  13. <Setter.Value>
  14. <ControlTemplate TargetType="{x:Type ContentControl}">
  15. <Grid>
  16. <Border Width="800"
  17. Background="White"
  18. BorderBrush="White">
  19. <Grid>
  20. <ContentPresenter Width="800" />
  21. </Grid>
  22. </Border>
  23. </Grid>
  24. </ControlTemplate>
  25. </Setter.Value>
  26. </Setter>
  27. </Style>
  28. </UserControl.Resources>
  29. <!--
  30. dhcc:FocusManager.IsOnlyMouseControl="True"
  31. <UserControl.Resources>
  32. <ItemsPanelTemplate x:Key="ListViewPanleTemplate">
  33. <StackPanel Loaded="StackPanel_Loaded" Orientation="Horizontal" />
  34. </ItemsPanelTemplate>
  35. </UserControl.Resources>
  36. -->
  37. <StackPanel VerticalAlignment="Top">
  38. <WrapPanel Name="LeadHeader"
  39. Height="30"
  40. Margin="0,5" />
  41. <Ellipse Height="1" Stroke="Green" />
  42. <ContentControl x:Name="lv_Leads"
  43. Height="400"
  44. Margin="0,5"
  45. Loaded="StackPanel_Loaded"
  46. ScrollViewer.HorizontalScrollBarVisibility="Auto"
  47. ScrollViewer.VerticalScrollBarVisibility="Auto"
  48. Style="{DynamicResource ControlStyle1}" />
  49. <Ellipse Height="1" Stroke="Green" />
  50. <StackPanel Margin="10"
  51. FlowDirection="RightToLeft"
  52. Orientation="Horizontal">
  53. <Button x:Name="btnPrevious"
  54. Width="80"
  55. Height="25"
  56. Click="btnPrevious_Click"
  57. Content="上一步"
  58. IsEnabled="False" />
  59. <Button x:Name="btnStep"
  60. Width="80"
  61. Height="25"
  62. Click="btnStep_Click"
  63. Content="跳 过"
  64. Visibility="Collapsed" />
  65. <Button x:Name="btnNext"
  66. Width="80"
  67. Height="25"
  68. Click="btnNext_Click"
  69. Content="下一步" />
  70. </StackPanel>
  71. </StackPanel>
  72. </UserControl>