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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈