|
- <UserControl x:Class="BPASmartClient.SCADAControl.CustomerControls.FYFTheListBox"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:BPASmartClient.SCADAControl.CustomerControls"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <ListView
- ItemsSource="{Binding ViewItems,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Background="{x:Null}" Foreground="White" >
- <ListBox.ItemTemplate>
- <ItemContainerTemplate>
- <Border Tag="border" BorderBrush="Aquamarine" BorderThickness="1" Padding="5" Background="#FF18888A">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="60"/>
- <ColumnDefinition/>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="60"/>
- </Grid.ColumnDefinitions>
- <TextBlock Margin="10,0,10,0" Grid.Column="0" Text="{Binding Name,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"></TextBlock>
- <TextBlock Grid.Column="1" Text="{Binding Ph,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"></TextBlock>
- <TextBox Width="100" Grid.Column="1"></TextBox>
- <ComboBox Grid.Column="2" Width="60">
- <ComboBoxItem>sdsds</ComboBoxItem>
- <ComboBoxItem>sdsds</ComboBoxItem>
- <ComboBoxItem>sdsds</ComboBoxItem>
- </ComboBox>
- </Grid>
- </Border>
- </ItemContainerTemplate>
- </ListBox.ItemTemplate>
- </ListView>
- </UserControl>
|