Partilhar via


SelectedCellsChangedEventArgs Construtores

Definição

Inicializa uma nova instância da classe SelectedCellsChangedEventArgs.

Sobrecargas

SelectedCellsChangedEventArgs(List<DataGridCellInfo>, List<DataGridCellInfo>)

Inicializa uma nova instância da classe SelectedCellsChangedEventArgs com as células especificadas adicionas e removidas da seleção.

SelectedCellsChangedEventArgs(ReadOnlyCollection<DataGridCellInfo>, ReadOnlyCollection<DataGridCellInfo>)

Inicializa uma nova instância da classe SelectedCellsChangedEventArgs com as células especificadas adicionas e removidas da seleção.

SelectedCellsChangedEventArgs(List<DataGridCellInfo>, List<DataGridCellInfo>)

Inicializa uma nova instância da classe SelectedCellsChangedEventArgs com as células especificadas adicionas e removidas da seleção.

public:
 SelectedCellsChangedEventArgs(System::Collections::Generic::List<System::Windows::Controls::DataGridCellInfo> ^ addedCells, System::Collections::Generic::List<System::Windows::Controls::DataGridCellInfo> ^ removedCells);
public SelectedCellsChangedEventArgs (System.Collections.Generic.List<System.Windows.Controls.DataGridCellInfo> addedCells, System.Collections.Generic.List<System.Windows.Controls.DataGridCellInfo> removedCells);
new System.Windows.Controls.SelectedCellsChangedEventArgs : System.Collections.Generic.List<System.Windows.Controls.DataGridCellInfo> * System.Collections.Generic.List<System.Windows.Controls.DataGridCellInfo> -> System.Windows.Controls.SelectedCellsChangedEventArgs
Public Sub New (addedCells As List(Of DataGridCellInfo), removedCells As List(Of DataGridCellInfo))

Parâmetros

addedCells
List<DataGridCellInfo>

As células adicionadas à seleção.

removedCells
List<DataGridCellInfo>

As células removidas da seleção.

Exceções

addedCells ou removedCells é null.

Comentários

Os parâmetros de entrada não podem ser null, mas podem estar vazios.

Aplica-se a

SelectedCellsChangedEventArgs(ReadOnlyCollection<DataGridCellInfo>, ReadOnlyCollection<DataGridCellInfo>)

Inicializa uma nova instância da classe SelectedCellsChangedEventArgs com as células especificadas adicionas e removidas da seleção.

public:
 SelectedCellsChangedEventArgs(System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::DataGridCellInfo> ^ addedCells, System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::DataGridCellInfo> ^ removedCells);
public SelectedCellsChangedEventArgs (System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.DataGridCellInfo> addedCells, System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.DataGridCellInfo> removedCells);
new System.Windows.Controls.SelectedCellsChangedEventArgs : System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.DataGridCellInfo> * System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.DataGridCellInfo> -> System.Windows.Controls.SelectedCellsChangedEventArgs
Public Sub New (addedCells As ReadOnlyCollection(Of DataGridCellInfo), removedCells As ReadOnlyCollection(Of DataGridCellInfo))

Parâmetros

addedCells
ReadOnlyCollection<DataGridCellInfo>

As células adicionadas à seleção.

removedCells
ReadOnlyCollection<DataGridCellInfo>

As células removidas da seleção.

Exceções

addedCells ou removedCells é null.

Comentários

Os parâmetros de entrada não podem ser null, mas podem estar vazios.

Aplica-se a