IExplorerListViewItemRenderer.DrawItem 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.
Restitue le contenu de la cellule du mode Liste dans l'explorateur.
public:
void DrawItem(System::Drawing::Graphics ^ g, System::Drawing::Rectangle r, System::String ^ text, System::Object ^ tag, System::Windows::Forms::ListViewItem ^ item);
public void DrawItem (System.Drawing.Graphics g, System.Drawing.Rectangle r, string text, object tag, System.Windows.Forms.ListViewItem item);
abstract member DrawItem : System.Drawing.Graphics * System.Drawing.Rectangle * string * obj * System.Windows.Forms.ListViewItem -> unit
Public Sub DrawItem (g As Graphics, r As Rectangle, text As String, tag As Object, item As ListViewItem)
Paramètres
- g
- Graphics
Objet qui représente les graphiques.
Limite de cellule du rectangle.
- text
- String
Valeur de chaîne des objets figurant dans la liste.
- tag
- Object
Objets à contenir.
- item
- ListViewItem
Élément de la liste.