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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈