2.5 KiB
ItemsMovedEventArgs Class
Namespace: Nodify.Events
Assembly: Nodify
Inheritance: Object → EventArgs → RoutedEventArgs → ItemsMovedEventArgs
References: ItemContainer, ItemsMovedEventHandler, NodifyEditor
Provides data for the NodifyEditor.ItemsMovedEvent routed event.
public class ItemsMovedEventArgs : RoutedEventArgs
Constructors
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.
Properties
Items
Gets a collection of FrameworkElement.DataContexts of the ItemContainers associated with this event.
public IReadOnlyCollection<Object> Items { get; set; }
Property Value
Offset
Gets or sets the vector representing the distance the items were moved.
public Vector Offset { get; set; }
Property Value
Methods
InvokeEventHandler(Delegate, Object)
protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget);
Parameters
genericHandler Delegate
genericTarget Object