MeasureItemEventArgs Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy MeasureItemEventArgs.

Przeciążenia

MeasureItemEventArgs(Graphics, Int32)

Inicjuje nowe wystąpienie klasy MeasureItemEventArgs.

MeasureItemEventArgs(Graphics, Int32, Int32)

Inicjuje MeasureItemEventArgs nowe wystąpienie klasy, podając parametr wysokości elementu.

MeasureItemEventArgs(Graphics, Int32)

Inicjuje nowe wystąpienie klasy MeasureItemEventArgs.

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)

Parametry

graphics
Graphics

Obiekt Graphics jest zapisywany.

index
Int32

Indeks elementu, dla którego potrzebna jest wysokość lub szerokość.

Dotyczy

MeasureItemEventArgs(Graphics, Int32, Int32)

Inicjuje MeasureItemEventArgs nowe wystąpienie klasy, podając parametr wysokości elementu.

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)

Parametry

graphics
Graphics

Obiekt Graphics jest zapisywany.

index
Int32

Indeks elementu, dla którego potrzebna jest wysokość lub szerokość.

itemHeight
Int32

Wysokość elementu do zmierzenia względem graphics obiektu.

Dotyczy