SelectedCellsChangedEventArgs Konstruktorer

Definition

Initierar en ny instans av SelectedCellsChangedEventArgs klassen.

Överlagringar

Name Description
SelectedCellsChangedEventArgs(List<DataGridCellInfo>, List<DataGridCellInfo>)

Initierar en ny instans av SelectedCellsChangedEventArgs klassen med de angivna cellerna tillagda och borttagna från markeringen.

SelectedCellsChangedEventArgs(ReadOnlyCollection<DataGridCellInfo>, ReadOnlyCollection<DataGridCellInfo>)

Initierar en ny instans av SelectedCellsChangedEventArgs klassen med de angivna cellerna tillagda och borttagna från markeringen.

SelectedCellsChangedEventArgs(List<DataGridCellInfo>, List<DataGridCellInfo>)

Initierar en ny instans av SelectedCellsChangedEventArgs klassen med de angivna cellerna tillagda och borttagna från markeringen.

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))

Parametrar

addedCells
List<DataGridCellInfo>

Cellerna som lagts till i markeringen.

removedCells
List<DataGridCellInfo>

Cellerna som tagits bort från markeringen.

Undantag

addedCells eller removedCells är null.

Kommentarer

Indataparametrarna får inte vara null, men kan vara tomma.

Gäller för

SelectedCellsChangedEventArgs(ReadOnlyCollection<DataGridCellInfo>, ReadOnlyCollection<DataGridCellInfo>)

Initierar en ny instans av SelectedCellsChangedEventArgs klassen med de angivna cellerna tillagda och borttagna från markeringen.

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))

Parametrar

addedCells
ReadOnlyCollection<DataGridCellInfo>

Cellerna som lagts till i markeringen.

removedCells
ReadOnlyCollection<DataGridCellInfo>

Cellerna som tagits bort från markeringen.

Undantag

addedCells eller removedCells är null.

Kommentarer

Indataparametrarna får inte vara null, men kan vara tomma.

Gäller för