年度变更建库软件5.0版本
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.

46 lines
2.7 KiB

6 months ago
<UserControl x:Class="Kingo.Plugin.General.View.UCWyspInfo"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<DataGrid x:Name="dgdVideo" AutoGenerateColumns="False" CanUserAddRows="False" Grid.Row="0" Margin="5px" MinHeight="150px" ColumnHeaderHeight="23">
<DataGrid.Columns>
<DataGridTextColumn Header="" Binding="{Binding Bsm}" Visibility="Collapsed"/>
<DataGridTemplateColumn Header="选择">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<CheckBox x:Name="cboxVideo" Click="cboxVideo_Click" IsChecked="{Binding Path=Sfxz, UpdateSourceTrigger=PropertyChanged}"></CheckBox>
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn Header="视频名称" Binding="{Binding Fjmc}" IsReadOnly="True" Width="45*">
<DataGridTextColumn.CellStyle>
<Style TargetType="DataGridCell">
<Setter Property="ToolTip" Value="{Binding Fjmc}" />
</Style>
</DataGridTextColumn.CellStyle>
</DataGridTextColumn>
<DataGridTextColumn Header="外业人员" Binding="{Binding Hcry}" IsReadOnly="True" Width="auto" />
<DataGridTextColumn Header="核查时间" Binding="{Binding Hcsj}" IsReadOnly="True" Width="auto" />
<DataGridTemplateColumn Header="">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<Button Content="播放" Click="PayVideo_Click" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>
</Grid>
</UserControl>