Partager via


DrawListViewSubItemEventArgs Constructeur

Définition

Initialise une nouvelle instance de la classe DrawListViewSubItemEventArgs.

public:
 DrawListViewSubItemEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle bounds, System::Windows::Forms::ListViewItem ^ item, System::Windows::Forms::ListViewItem::ListViewSubItem ^ subItem, int itemIndex, int columnIndex, System::Windows::Forms::ColumnHeader ^ header, System::Windows::Forms::ListViewItemStates itemState);
public DrawListViewSubItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, System.Windows.Forms.ListViewItem item, System.Windows.Forms.ListViewItem.ListViewSubItem subItem, int itemIndex, int columnIndex, System.Windows.Forms.ColumnHeader header, System.Windows.Forms.ListViewItemStates itemState);
public DrawListViewSubItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, System.Windows.Forms.ListViewItem? item, System.Windows.Forms.ListViewItem.ListViewSubItem? subItem, int itemIndex, int columnIndex, System.Windows.Forms.ColumnHeader? header, System.Windows.Forms.ListViewItemStates itemState);
new System.Windows.Forms.DrawListViewSubItemEventArgs : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ListViewItem * System.Windows.Forms.ListViewItem.ListViewSubItem * int * int * System.Windows.Forms.ColumnHeader * System.Windows.Forms.ListViewItemStates -> System.Windows.Forms.DrawListViewSubItemEventArgs
Public Sub New (graphics As Graphics, bounds As Rectangle, item As ListViewItem, subItem As ListViewItem.ListViewSubItem, itemIndex As Integer, columnIndex As Integer, header As ColumnHeader, itemState As ListViewItemStates)

Paramètres

graphics
Graphics

Surface Graphics sur laquelle dessiner.

bounds
Rectangle

Rectangle au sein duquel dessiner.

itemIndex
Int32

Index du ListViewItem parent au sein de la collection Items.

columnIndex
Int32

Index de la colonne ListViewItem.ListViewSubItem au sein de la collection Columns.

header
ColumnHeader

ColumnHeader de la colonne dans laquelle ListViewItem.ListViewSubItem est affiché.

itemState
ListViewItemStates

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

S’applique à