DrawListViewItemEventArgs(Graphics, ListViewItem, Rectangle, Int32, ListViewItemStates) Costruttore

Definizione

Inizializza una nuova istanza della classe DrawListViewItemEventArgs.Initializes a new instance of the DrawListViewItemEventArgs class.

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)

Parametri

graphics
Graphics

La superficie dell'oggetto Graphics su cui disegnare.The Graphics surface on which to draw.

item
ListViewItem

Classe ListViewItem da disegnare.The ListViewItem to draw.

bounds
Rectangle

Oggetto Rectangle all'interno del quale creare.The Rectangle within which to draw.

itemIndex
Int32

Indice dell'oggetto ListViewItem all'interno dell'insieme Items.The index of the ListViewItem within the Items collection.

state
ListViewItemStates

Combinazione bit per bit dei valori ListViewItemStates che indica lo stato corrente dell'elemento ListViewItem da creare.A bitwise combination of ListViewItemStates values indicating the current state of the ListViewItem to draw.

Si applica a