そのため、Xceedのドキュメントには、私には機能しないコード例があります。グリッドがDataGridCollectionViewにバインドされていることが原因である可能性があります。datagridcollectionによって使用されるコレクション内のオブジェクトは、IDataErrorInfoを実装するものです。
エラーは問題なく表示されています。問題は、エラーにデフォルトのオレンジ色の背景を使用していることです...赤い境界線が必要です。以下は、私のグリッドのXAMLインスタンス化です。グリッドのプロパティにアクセスできることを確認できるように、DataCellの背景プロパティを赤に設定しました...そうです。エラーのあるセルを特定する方法が見つからないため、スタイルを設定できます。ありがとう!
<XceedDG:DataGridControl Grid.Row="1" Grid.ColumnSpan="5" ItemsSource="{Binding Path = ABGDataGridCollectionView, UpdateSourceTrigger=PropertyChanged}"
Background="{x:Static Views:DataGridControlBackgroundBrushes.ElementalBlue}" IsDeleteCommandEnabled="True"
FontSize="16" AutoCreateColumns="False" x:Name="EncounterDataGrid" AllowDrop="True">
<XceedDG:DataGridControl.View>
<Views:TableView ColumnStretchMode="All" ShowRowSelectorPane="True"
ColumnStretchMinWidth="100">
<Views:TableView.FixedHeaders>
<DataTemplate>
<XceedDG:InsertionRow Height="40"/>
</DataTemplate>
</Views:TableView.FixedHeaders>
</Views:TableView>
</XceedDG:DataGridControl.View>
<!--Group Header formatting-->
<XceedDG:DataGridControl.Resources>
<Style TargetType="{x:Type XceedDG:GroupByControl}">
<Setter Property="Visibility" Value="Collapsed"/>
</Style>
<Style TargetType="{x:Type XceedDG:DataCell}">
<Setter Property="Background" Value="Red"/>
</Style>
</XceedDG:DataGridControl.Resources>
..。