Прочетете на английски Редактиране

Споделяне чрез


MeasureItemEventArgs Constructors

Definition

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)

Source:
MeasureItemEventArgs.cs
Source:
MeasureItemEventArgs.cs
Source:
MeasureItemEventArgs.cs

Initializes a new instance of the MeasureItemEventArgs class.

public MeasureItemEventArgs (System.Drawing.Graphics graphics, int index);

Parameters

graphics
Graphics

The Graphics object being written to.

index
Int32

The index of the item for which you need the height or width.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

MeasureItemEventArgs(Graphics, Int32, Int32)

Source:
MeasureItemEventArgs.cs
Source:
MeasureItemEventArgs.cs
Source:
MeasureItemEventArgs.cs

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);

Parameters

graphics
Graphics

The Graphics object being written to.

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

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9