DataGridViewLinkCell.GetErrorIconBounds Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne le rectangle qui englobe l'icône d'erreur de la cellule, si affichée.
protected:
override System::Drawing::Rectangle GetErrorIconBounds(System::Drawing::Graphics ^ graphics, System::Windows::Forms::DataGridViewCellStyle ^ cellStyle, int rowIndex);
protected override System.Drawing.Rectangle GetErrorIconBounds (System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex);
override this.GetErrorIconBounds : System.Drawing.Graphics * System.Windows.Forms.DataGridViewCellStyle * int -> System.Drawing.Rectangle
Protected Overrides Function GetErrorIconBounds (graphics As Graphics, cellStyle As DataGridViewCellStyle, rowIndex As Integer) As Rectangle
Paramètres
- graphics
- Graphics
Contexte graphique pour la cellule.
- cellStyle
- DataGridViewCellStyle
DataGridViewCellStyle à appliquer à la cellule.
- rowIndex
- Int32
Index de la ligne parente de la cellule.
Retours
Rectangle qui lie l’icône d’erreur de la cellule, si une icône est affichée ; sinon, Empty.