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

.NET Framework 4.8.1 ve diğer sürümler
Ürün Sürümler
.NET Framework 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

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

.NET Framework 4.8.1 ve diğer sürümler
Ürün Sürümler
.NET Framework 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