SelectedCellsChangedEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 SelectedCellsChangedEventArgs 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| SelectedCellsChangedEventArgs(List<DataGridCellInfo>, List<DataGridCellInfo>) |
使用添加到所选内容和从所选内容中删除的指定单元格初始化类的新实例 SelectedCellsChangedEventArgs 。 |
| SelectedCellsChangedEventArgs(ReadOnlyCollection<DataGridCellInfo>, ReadOnlyCollection<DataGridCellInfo>) |
使用添加到所选内容和从所选内容中删除的指定单元格初始化类的新实例 SelectedCellsChangedEventArgs 。 |
SelectedCellsChangedEventArgs(List<DataGridCellInfo>, List<DataGridCellInfo>)
使用添加到所选内容和从所选内容中删除的指定单元格初始化类的新实例 SelectedCellsChangedEventArgs 。
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))
参数
- addedCells
- List<DataGridCellInfo>
添加到所选内容的单元格。
- removedCells
- List<DataGridCellInfo>
从所选内容中删除的单元格。
例外
addedCells 或 removedCells 为 null.
注解
输入参数不能 null,但可以为空。
适用于
SelectedCellsChangedEventArgs(ReadOnlyCollection<DataGridCellInfo>, ReadOnlyCollection<DataGridCellInfo>)
使用添加到所选内容和从所选内容中删除的指定单元格初始化类的新实例 SelectedCellsChangedEventArgs 。
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))
参数
- addedCells
- ReadOnlyCollection<DataGridCellInfo>
添加到所选内容的单元格。
- removedCells
- ReadOnlyCollection<DataGridCellInfo>
从所选内容中删除的单元格。
例外
addedCells 或 removedCells 为 null.
注解
输入参数不能 null,但可以为空。