Compartilhar via


DrawListViewSubItemEventArgs Construtor

Definição

Inicializa uma nova instância da 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)

Parâmetros

graphics
Graphics

A superfície Graphics na qual desenhar.

bounds
Rectangle

O Rectangle dentro da qual desenhar.

item
ListViewItem

O ListViewItem pai do ListViewItem.ListViewSubItem a ser desenhado.

itemIndex
Int32

O índice do ListViewItem pai dentro da coleção Items.

columnIndex
Int32

O índice da coluna ListViewItem.ListViewSubItem dentro da coleção Columns.

header
ColumnHeader

O ColumnHeader para a coluna na qual o ListViewItem.ListViewSubItem é exibido.

itemState
ListViewItemStates

Uma combinação bit a bit de valores ListViewItemStates que indica o estado atual do ListViewItem pai do ListViewItem.ListViewSubItem a ser desenhado.

Aplica-se a