Editar

Compartilhar via


SelectedCellsChangedEventArgs Constructors

Definition

Initializes a new instance of the SelectedCellsChangedEventArgs class.

Overloads

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

Initializes a new instance of the SelectedCellsChangedEventArgs class with the specified cells added to and removed from the selection.

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

Initializes a new instance of the SelectedCellsChangedEventArgs class with the specified cells added to and removed from the selection.

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

Initializes a new instance of the SelectedCellsChangedEventArgs class with the specified cells added to and removed from the selection.

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

Parameters

addedCells
List<DataGridCellInfo>

The cells added to the selection.

removedCells
List<DataGridCellInfo>

The cells removed from the selection.

Exceptions

addedCells or removedCells is null.

Remarks

The input parameters cannot be null, but can be empty.

Applies to

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

Initializes a new instance of the SelectedCellsChangedEventArgs class with the specified cells added to and removed from the selection.

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

Parameters

addedCells
ReadOnlyCollection<DataGridCellInfo>

The cells added to the selection.

removedCells
ReadOnlyCollection<DataGridCellInfo>

The cells removed from the selection.

Exceptions

addedCells or removedCells is null.

Remarks

The input parameters cannot be null, but can be empty.

Applies to