DrawListViewItemEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- item
- ListViewItem
The ListViewItem to draw.
- itemIndex
- Int32
The index of the ListViewItem within the Items collection.
- state
- ListViewItemStates
A bitwise combination of ListViewItemStates values indicating the current state of the ListViewItem to draw.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET