Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal graphics As Graphics, _ ByVal item As RasterImageListItem _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim graphics As Graphics Dim item As RasterImageListItem Dim instance As New RasterImageListDrawItemEventArgs(graphics, item) |
C# | |
---|---|
public RasterImageListDrawItemEventArgs( Graphics graphics, RasterImageListItem item ) |
C++/CLI | |
---|---|
public: RasterImageListDrawItemEventArgs( Graphics^ graphics, RasterImageListItem^ item ) |
Parameters
- graphics
- The Graphics object into which the item should be drawn.
- item
- The RasterImageListItem to draw.
For an example, refer to RasterImageList.DrawItem.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7