projects/wms-framework/src/lib/models/events/DragEventArgs.ts
Creates an instance of DragEventArgs.
Properties |
|
constructor(AllowedEffects?: DragDropEffects, Data?: unknown, Effects?: DragDropEffects, Handled?: boolean, OriginalSource?: unknown)
|
||||||||||||||||||||||||
Creates an instance of DragEventArgs.
Parameters :
|
Public Optional AllowedEffects |
Type : DragDropEffects
|
Gets or sets the allowed effects.
|
Public Optional Data |
Type : unknown
|
Gets or sets the data associated with the item container being dragged.
|
Public Optional Effects |
Type : DragDropEffects
|
Gets or sets the effects of the completed drag operation.
|
Public Optional Handled |
Type : boolean
|
Gets or sets a value indicating whether the present state of the event handling for a routed event as it travels the route.
|
Public Optional OriginalSource |
Type : unknown
|
Gets the original reporting source as determined by pure hit testing.
|
import { DragDropEffects } from '../enums/DragDropEffects';
/**
* Creates an instance of DragEventArgs.
*
* @export
* @class DragEventArgs
* @wType Microsoft.Windows.DragEventArgs
*/
export class DragEventArgs {
/**
* Creates an instance of DragEventArgs.
*
* @param {DragDropEffects} AllowedEffects Gets or sets the allowed effects.
* @param {unknown} Data Gets or sets the data associated with the item container being dragged.
* @param {DragDropEffects} Effects Gets or sets the effects of the completed drag operation.
* @param {boolean} Handled Gets or sets a value indicating whether the present state of the event handling for a routed event as it travels the route.
* @param {unknown} OriginalSource Gets the original reporting source as determined by pure hit testing.
* @memberof DragEventArgs
*/
constructor(
public AllowedEffects?: DragDropEffects,
public Data?: unknown,
public Effects?: DragDropEffects,
public Handled?: boolean,
public OriginalSource?: unknown
) {}
}