8,735
社区成员
发帖
与我相关
我的任务
分享
<sdk:DataGrid x:Name="dgArticles" IsReadOnly="True" AutoGeneratingColumn="dgArticles_AutoGeneratingColumn">
<sdk:DataGrid.RowDetailsTemplate>
<DataTemplate>
<Grid Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50*"></ColumnDefinition>
<ColumnDefinition Width="50*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Border BorderBrush="LightCyan" BorderThickness="2">
<Grid Grid.Row="0" Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50*"></ColumnDefinition>
<ColumnDefinition Width="50*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="原文" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Bottom"></TextBlock>
<ScrollViewer Height="600" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Width="600" HorizontalScrollBarVisibility="Auto" x:Name="leftScroll">
<c1:C1HtmlHost x:Name="content1" SourceHtml="{Binding content}" Width="560" />
</ScrollViewer>
<Button Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" Content="通过" Width="70" Margin="2,2,10,2"></Button>
<Button Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Content="拒绝" Width="70" Margin="10,2,2,2"></Button>
</Grid>
</Border>
<Grid Grid.Row="0" Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50*"></ColumnDefinition>
<ColumnDefinition Width="50*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="重复文章 重复度:" FontSize="20" HorizontalAlignment="Right" VerticalAlignment="Bottom"></TextBlock>
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding RepeatPercent}" FontSize="20" HorizontalAlignment="Left" VerticalAlignment="Bottom"></TextBlock>
<ScrollViewer Height="600" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Width="600" HorizontalScrollBarVisibility="Auto">
<c1:C1HtmlHost x:Name="content2" SourceHtml="{Binding content}" Width="560"/>
</ScrollViewer>
</Grid>
</Grid>
</DataTemplate>
</sdk:DataGrid.RowDetailsTemplate>
</sdk:DataGrid>