终端一体化运控平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

36 rindas
2.0 KiB

  1. <UserControl x:Class="BPASmartClient.SCADAControl.CustomerControls.FYFTheListBox"
  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:BPASmartClient.SCADAControl.CustomerControls"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <ListView
  10. ItemsSource="{Binding ViewItems,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  11. Background="{x:Null}" Foreground="White" >
  12. <ListBox.ItemTemplate>
  13. <ItemContainerTemplate>
  14. <Border Tag="border" BorderBrush="Aquamarine" BorderThickness="1" Padding="5" Background="#FF18888A">
  15. <Grid>
  16. <Grid.ColumnDefinitions>
  17. <ColumnDefinition Width="60"/>
  18. <ColumnDefinition/>
  19. <ColumnDefinition Width="100"/>
  20. <ColumnDefinition Width="60"/>
  21. </Grid.ColumnDefinitions>
  22. <TextBlock Margin="10,0,10,0" Grid.Column="0" Text="{Binding Name,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"></TextBlock>
  23. <TextBlock Grid.Column="1" Text="{Binding Ph,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"></TextBlock>
  24. <TextBox Width="100" Grid.Column="1"></TextBox>
  25. <ComboBox Grid.Column="2" Width="60">
  26. <ComboBoxItem>sdsds</ComboBoxItem>
  27. <ComboBoxItem>sdsds</ComboBoxItem>
  28. <ComboBoxItem>sdsds</ComboBoxItem>
  29. </ComboBox>
  30. </Grid>
  31. </Border>
  32. </ItemContainerTemplate>
  33. </ListBox.ItemTemplate>
  34. </ListView>
  35. </UserControl>