SelectedCellsChangedEventArgs 构造函数

定义

初始化 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>

从选择范围中移除的单元格。

例外

addedCellsremovedCellsnull

注解

输入参数不能 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>

从选择范围中移除的单元格。

例外

addedCellsremovedCellsnull

注解

输入参数不能 null,但可以为空。

适用于