DataGridViewImageCell.DefaultNewRowValue プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

既定のイメージのプレースホルダを含むオブジェクト。空のセルを表示する場合は null 参照 (Visual Basic では Nothing)。

このプロパティの値は、ValueIsIcon プロパティの値に応じて、Image 型または Icon 型である必要があります。
新しい行を追加できる DataGridView を表示すると、その最後の行として、既定値が読み込まれたセルで構成される空の新しい行が必ず表示されます。このプロパティをオーバーライドすることにより、これらのセルに別の既定イメージを表示したり、イメージが表示されないよう null 参照 (Visual Basic では Nothing) を設定したりできます。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- DataGridViewImageCell.DefaultNewRowValue プロパティのページへのリンク