ColumnWidthChangingEventArgs Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ColumnWidthChangingEventArgs.

Przeciążenia

ColumnWidthChangingEventArgs(Int32, Int32)

Inicjuje ColumnWidthChangingEventArgs nowe wystąpienie klasy z określonym indeksem kolumny i szerokością.

ColumnWidthChangingEventArgs(Int32, Int32, Boolean)

Inicjuje ColumnWidthChangingEventArgs nowe wystąpienie klasy, określając indeks kolumny i szerokość oraz to, czy zdarzenie ma być anulowane.

ColumnWidthChangingEventArgs(Int32, Int32)

Inicjuje ColumnWidthChangingEventArgs nowe wystąpienie klasy z określonym indeksem kolumny i szerokością.

public:
 ColumnWidthChangingEventArgs(int columnIndex, int newWidth);
public ColumnWidthChangingEventArgs (int columnIndex, int newWidth);
new System.Windows.Forms.ColumnWidthChangingEventArgs : int * int -> System.Windows.Forms.ColumnWidthChangingEventArgs
Public Sub New (columnIndex As Integer, newWidth As Integer)

Parametry

columnIndex
Int32

Indeks kolumny, której szerokość zmienia się.

newWidth
Int32

Nowa szerokość kolumny.

Dotyczy

ColumnWidthChangingEventArgs(Int32, Int32, Boolean)

Inicjuje ColumnWidthChangingEventArgs nowe wystąpienie klasy, określając indeks kolumny i szerokość oraz to, czy zdarzenie ma być anulowane.

public:
 ColumnWidthChangingEventArgs(int columnIndex, int newWidth, bool cancel);
public ColumnWidthChangingEventArgs (int columnIndex, int newWidth, bool cancel);
new System.Windows.Forms.ColumnWidthChangingEventArgs : int * int * bool -> System.Windows.Forms.ColumnWidthChangingEventArgs
Public Sub New (columnIndex As Integer, newWidth As Integer, cancel As Boolean)

Parametry

columnIndex
Int32

Indeks kolumny, której szerokość zmienia się.

newWidth
Int32

Nowa szerokość kolumny.

cancel
Boolean

true aby anulować zmianę szerokości; w przeciwnym razie , false.

Uwagi

Przekazanie true parametru cancel spowoduje anulowanie zmiany szerokości, a kolumna powróci do poprzedniego rozmiaru.

Dotyczy