projects/wms-framework/src/lib/models/events/SelectionChangedEventArgs.ts
SelectionChangedEventArgs class.
Properties |
Accessors |
constructor(removedItems: SimpleList<unknown>, addedItems: SimpleList<unknown>)
|
|||||||||
Creates an instance of SelectionChangedEventArgs.
Parameters :
|
_addedItems |
Type : SimpleList<unknown>
|
Default value : new SimpleList<unknown>()
|
_removedItems |
Type : SimpleList<unknown>
|
Default value : new SimpleList<unknown>()
|
AddedItems | ||||||
getAddedItems()
|
||||||
Gets a list that contains the items that were selected.
Returns :
SimpleList<unknown>
|
||||||
setAddedItems(value: SimpleList<unknown>)
|
||||||
Sets a list that contains the items that were selected.
Parameters :
Returns :
void
|
RemovedItems | ||||||
getRemovedItems()
|
||||||
Gets a list that contains the items that were unselected.
Returns :
SimpleList<unknown>
|
||||||
setRemovedItems(value: SimpleList<unknown>)
|
||||||
Sets a list that contains the items that were unselected.
Parameters :
Returns :
void
|
import { SimpleList } from '../../baseframework/collections';
/**
* SelectionChangedEventArgs class.
*
* @export
* @class SelectionChangedEventArgs
* @wType Telerik.Windows.Controls.SelectionChangedEventArgs
*/
export class SelectionChangedEventArgs {
/**
* Private property for addedItems.
*/
#_addedItems: SimpleList<unknown> = new SimpleList<unknown>();
/**
* Private property for removedItems.
*/
#_removedItems: SimpleList<unknown> = new SimpleList<unknown>();
/**
* Creates an instance of SelectionChangedEventArgs.
* @param {SimpleList<unknown>} removedItems
* @param {SimpleList<unknown>} addedItems
* @memberof SelectionChangedEventArgs
*/
constructor(
removedItems: SimpleList<unknown>,
addedItems: SimpleList<unknown>
) {
this.AddedItems = addedItems;
this.RemovedItems = removedItems;
}
/**
* Gets a list that contains the items that were selected.
*
* @type {SimpleList<unknown>}
* @memberof SelectionChangedEventArgs
*/
get AddedItems(): SimpleList<unknown> {
return this.#_addedItems;
}
/**
* Sets a list that contains the items that were selected.
*
* @memberof SelectionChangedEventArgs
*/
set AddedItems(value: SimpleList<unknown>) {
this.#_addedItems = value;
}
/**
* Gets a list that contains the items that were unselected.
*
* @type {SimpleList<unknown>}
* @memberof SelectionChangedEventArgs
*/
get RemovedItems(): SimpleList<unknown> {
return this.#_removedItems;
}
/**
* Sets a list that contains the items that were unselected.
*
* @memberof SelectionChangedEventArgs
*/
set RemovedItems(value: SimpleList<unknown>) {
this.#_removedItems = value;
}
}