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.
37 lines
2.8 KiB
37 lines
2.8 KiB
<UserControl x:Class="Kingo.Plugin.General.ViewDTBResultCheck.UCCheckResults" |
|
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:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" |
|
mc:Ignorable="d" |
|
d:DesignHeight="450" d:DesignWidth="800"> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="*"/> |
|
</Grid.RowDefinitions> |
|
<dxg:GridControl Name="gridPackage" Grid.Row="0" AutoPopulateColumns="False" SelectionChanged="gcAttr_SelectionChanged" AutoGenerateColumns="KeepOld" Background="Black" ScrollViewer.CanContentScroll="True"> |
|
<dxg:GridControl.ContextMenu> |
|
<ContextMenu> |
|
<MenuItem Header="例外" Click="MenuItem_Click"/> |
|
<MenuItem Header="修复" Name="Repair" Visibility="Collapsed" Click="Repair_Click"/> |
|
<MenuItem Header="导出结果" Click="BtnExprotResult_Click"/> |
|
</ContextMenu> |
|
</dxg:GridControl.ContextMenu> |
|
<dxg:GridControl.View> |
|
<dxg:TableView Name="viewPackage" ShowCheckBoxSelectorColumn="False" MultiSelectMode="Row" ShowTotalSummary="False" IsTotalSummaryMenuEnabled="False" AllowGroupSummaryCascadeUpdate="False" ShowFixedTotalSummary="False" ShowSearchPanelMode="Never" ShowGroupPanel="False" ShowAutoFilterRow="True" AllowEditing="False" BestFitMode="VisibleRows" ShowCriteriaInAutoFilterRow="False"> |
|
</dxg:TableView> |
|
</dxg:GridControl.View> |
|
<dxg:GridControl.Columns> |
|
<dxg:GridColumn Header="序号" Width="50" Binding="{Binding XH}" AllowColumnFiltering="Default" AutoFilterCondition="Contains"/> |
|
<dxg:GridColumn Header="错误对象ID" Width="150" Binding="{Binding ErrorId}" AutoFilterCondition="Contains"/> |
|
<dxg:GridColumn Header="规则编码" Width="105" Binding="{Binding RuleCode}" AutoFilterCondition="Contains"/> |
|
<dxg:GridColumn Header="错误提示" Width="*" Binding="{Binding ErrorTip}" AutoFilterCondition="Contains"/> |
|
<dxg:GridColumn Header="错误类型" Width="90" Binding="{Binding ErrorType}" AutoFilterCondition="Contains"/> |
|
<!--<dxg:GridColumn Header="检查对象" Width="110" Binding="{Binding CheckObject}"/> |
|
<dxg:GridColumn Header="规则名称" Width="Auto" Binding="{Binding RuleName }"/> |
|
<dxg:GridColumn Header="规则内容" Width="Auto" Binding="{Binding RuleContent}"/>--> |
|
</dxg:GridControl.Columns> |
|
</dxg:GridControl> |
|
</Grid> |
|
</UserControl>
|
|
|