DrawListViewItemEventArgs Constructeur

Définition

Initialise une nouvelle instance de la classe DrawListViewItemEventArgs.

public:
 DrawListViewItemEventArgs(System::Drawing::Graphics ^ graphics, System::Windows::Forms::ListViewItem ^ item, System::Drawing::Rectangle bounds, int itemIndex, System::Windows::Forms::ListViewItemStates state);
public DrawListViewItemEventArgs (System.Drawing.Graphics graphics, System.Windows.Forms.ListViewItem item, System.Drawing.Rectangle bounds, int itemIndex, System.Windows.Forms.ListViewItemStates state);
new System.Windows.Forms.DrawListViewItemEventArgs : System.Drawing.Graphics * System.Windows.Forms.ListViewItem * System.Drawing.Rectangle * int * System.Windows.Forms.ListViewItemStates -> System.Windows.Forms.DrawListViewItemEventArgs
Public Sub New (graphics As Graphics, item As ListViewItem, bounds As Rectangle, itemIndex As Integer, state As ListViewItemStates)

Paramètres

graphics
Graphics

Surface Graphics sur laquelle dessiner.

item
ListViewItem

ListViewItem à dessiner.

bounds
Rectangle

Rectangle au sein duquel dessiner.

itemIndex
Int32

Index de ListViewItem au sein de la collection Items.

state
ListViewItemStates

Combinaison d'opérations de bits des valeurs ListViewItemStates indiquant l'état actuel de ListViewItem à dessiner.

S’applique à