<dxg:GridControl.View>
<dxg:TableView AllowPerPixelScrolling="True" Name="tvSAP" AllowEditing="False" ShowTotalSummary="False" ShowGroupPanel="False" UseLightweightTemplates="None">
<dxg:TableView.RowStyle>
<Style TargetType="dxg:GridRowContent" BasedOn="{StaticResource {dxgt:GridRowThemeKey ResourceKey=RowStyle}}">
<Setter Property="Background" Value="{Binding Row.ComponentCode, Converter={StaticResource NewSAPCodeConvert}}"/>
</Style>
</dxg:TableView.RowStyle>
</dxg:TableView>
GridControl 行背景颜色设置
最新推荐文章于 2022-12-06 16:01:37 发布