DataGridViewImageCell Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DataGridViewImageCell class.
Overloads
| Name | Description |
|---|---|
| DataGridViewImageCell() |
Initializes a new instance of the DataGridViewImageCell class, configuring it for use with cell values other than Icon objects. |
| DataGridViewImageCell(Boolean) |
Initializes a new instance of the DataGridViewImageCell class, optionally configuring it for use with Icon cell values. |
DataGridViewImageCell()
- Source:
- DataGridViewImageCell.cs
- Source:
- DataGridViewImageCell.cs
- Source:
- DataGridViewImageCell.cs
- Source:
- DataGridViewImageCell.cs
- Source:
- DataGridViewImageCell.cs
Initializes a new instance of the DataGridViewImageCell class, configuring it for use with cell values other than Icon objects.
public:
DataGridViewImageCell();
public DataGridViewImageCell();
Public Sub New ()
Remarks
This constructor calls DataGridViewImageCell(Boolean) with a valueIsIcon parameter value of false.
See also
Applies to
DataGridViewImageCell(Boolean)
- Source:
- DataGridViewImageCell.cs
- Source:
- DataGridViewImageCell.cs
- Source:
- DataGridViewImageCell.cs
- Source:
- DataGridViewImageCell.cs
- Source:
- DataGridViewImageCell.cs
Initializes a new instance of the DataGridViewImageCell class, optionally configuring it for use with Icon cell values.
public:
DataGridViewImageCell(bool valueIsIcon);
public DataGridViewImageCell(bool valueIsIcon);
new System.Windows.Forms.DataGridViewImageCell : bool -> System.Windows.Forms.DataGridViewImageCell
Public Sub New (valueIsIcon As Boolean)
Parameters
Remarks
When you use this constructor, the ValueIsIcon property is set to the value of the valueIsIcon parameter.
To ensure that the alpha channel of Icon values is painted correctly, use this constructor with a valueIsIcon parameter value of true.
If the valueIsIcon parameter is true, the FormattedValueType and ValueType properties return a Type object representing the Icon type.