私はDataGrid
と 2を持っていStaticResource
ます。
RowStyle
DataGrid を 2 つの StaticResources のいずれかにバインドしたいと考えています。
RowStyle="{StaticResource {Binding Status, Converter={StaticResource MyConverter}}}"
MyConverter は StaticResource のキーを返します。
しかし、私はこのエラーが発生します:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.