共用方式為


DrawListViewItemEventArgs 建構函式

定義

初始化 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)

參數

graphics
Graphics

要繪製的 Graphics 表層。

item
ListViewItem

要繪製的 ListViewItem

bounds
Rectangle

要於其中進行繪製的 Rectangle

itemIndex
Int32

ListViewItem 集合內 Items 的索引。

state
ListViewItemStates

ListViewItemStates 值的位元組合,表示所要繪製 ListViewItem 的目前狀態。

適用於