回答編集履歴

2

追記

2020/05/28 04:25

投稿

YAmaGNZ
YAmaGNZ

スコア10268

test CHANGED
@@ -1 +1,7 @@
1
1
  [DataGridViewCell.Tagプロパティ](https://docs.microsoft.com/ja-jp/dotnet/api/system.windows.forms.datagridviewcell.tag?view=netframework-4.8)や[DataGridViewImageCell.Descriptionプロパティ](https://docs.microsoft.com/ja-jp/dotnet/api/system.windows.forms.datagridviewimagecell.description?view=netframework-4.8)を利用してみてはどうでしょうか?
2
+
3
+
4
+
5
+ ただ、現在どのような方法で表示されているのか分かりませんので、方法次第では他に何かしら別の方法があるかもしれませんし、提示したものを使うのであれば、現在の方法でもそれほど変わらないのかもしれません。
6
+
7
+ 例えばセルの値はファイル名として、Paintイベントにてそのファイル名からImageを読み込んで描画するとかできますが、現状の方法とどちらがいいのかも分かりません。

1

追記

2020/05/28 04:25

投稿

YAmaGNZ
YAmaGNZ

スコア10268

test CHANGED
@@ -1 +1 @@
1
- [DataGridViewCell.Tagプロパティ](https://docs.microsoft.com/ja-jp/dotnet/api/system.windows.forms.datagridviewcell.tag?view=netframework-4.8)を利用してみてはどうでしょうか?
1
+ [DataGridViewCell.Tagプロパティ](https://docs.microsoft.com/ja-jp/dotnet/api/system.windows.forms.datagridviewcell.tag?view=netframework-4.8)や[DataGridViewImageCell.Descriptionプロパティ](https://docs.microsoft.com/ja-jp/dotnet/api/system.windows.forms.datagridviewimagecell.description?view=netframework-4.8)を利用してみてはどうでしょうか?