ColumnHeader::ImageKey Property
.NET Framework (current version)
Gets or sets the key of the image displayed in the column.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [TypeConverterAttribute((ImageKeyConverter^::typeid))] property String^ ImageKey { String^ get(); void set(String^ value); }
The ImageKey and ImageIndex properties are mutually exclusive, meaning if one is set, the other is set to an invalid value and ignored.
If ImageKey is set to an invalid value, an image will not be displayed, and an exception will not be thrown.
The image associated with a ColumnHeader is typically used to indicate the state information.
.NET Framework
Available since 2.0
Available since 2.0
Show: