MeasureItemEventArgs Constructors
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 MeasureItemEventArgs class.
Overloads
MeasureItemEventArgs(Graphics, Int32) |
Initializes a new instance of the MeasureItemEventArgs class. |
MeasureItemEventArgs(Graphics, Int32, Int32) |
Initializes a new instance of the MeasureItemEventArgs class providing a parameter for the item height. |
MeasureItemEventArgs(Graphics, Int32)
Initializes a new instance of the MeasureItemEventArgs class.
public:
MeasureItemEventArgs(System::Drawing::Graphics ^ graphics, int index);
public MeasureItemEventArgs (System.Drawing.Graphics graphics, int index);
new System.Windows.Forms.MeasureItemEventArgs : System.Drawing.Graphics * int -> System.Windows.Forms.MeasureItemEventArgs
Public Sub New (graphics As Graphics, index As Integer)
Parameters
- index
- Int32
The index of the item for which you need the height or width.
Applies to
MeasureItemEventArgs(Graphics, Int32, Int32)
Initializes a new instance of the MeasureItemEventArgs class providing a parameter for the item height.
public:
MeasureItemEventArgs(System::Drawing::Graphics ^ graphics, int index, int itemHeight);
public MeasureItemEventArgs (System.Drawing.Graphics graphics, int index, int itemHeight);
new System.Windows.Forms.MeasureItemEventArgs : System.Drawing.Graphics * int * int -> System.Windows.Forms.MeasureItemEventArgs
Public Sub New (graphics As Graphics, index As Integer, itemHeight As Integer)
Parameters
- index
- Int32
The index of the item for which you need the height or width.
- itemHeight
- Int32
The height of the item to measure relative to the graphics
object.