Skip to content

Events / ItemsMovedEventArgs

Namespace: Nodify.Events

Assembly: Nodify

Inheritance: ObjectEventArgsRoutedEventArgsItemsMovedEventArgs

References: ItemContainer, ItemsMovedEventHandler, NodifyEditor

Provides data for the NodifyEditor.ItemsMovedEvent routed event.

public class ItemsMovedEventArgs : RoutedEventArgs

ItemsMovedEventArgs(IReadOnlyCollection<Object>, Vector)

Section titled “ItemsMovedEventArgs(IReadOnlyCollection<Object>, Vector)”

Initializes a new instance of the ItemsMovedEventArgs class with the specified moved items and offset.

public ItemsMovedEventArgs(IReadOnlyCollection<Object> items, Vector offset);

Parameters

items IReadOnlyCollection<Object>: The collection of items that were moved.

offset Vector: The vector representing the distance the items were moved.

Gets a collection of FrameworkElement.DataContexts of the ItemContainers associated with this event.

public IReadOnlyCollection<Object> Items { get; set; }

Property Value

IReadOnlyCollection<Object>

Gets or sets the vector representing the distance the items were moved.

public Vector Offset { get; set; }

Property Value

Vector

protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget);

Parameters

genericHandler Delegate

genericTarget Object