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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應