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
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()
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)
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.
See also
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om