SelectedCellsChangedEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de