語言

SelectedCellsChangedEventArgs 建構函式

定義

初始化 SelectedCellsChangedEventArgs 類別的新執行個體。

多載

名稱 Description
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,但可以為空。

適用於