Skip to content

Nodify_Events_ItemsMovedEventArgs

miroiu edited this page Dec 23, 2024 · 1 revision

ItemsMovedEventArgs Class

Namespace: Nodify.Events

Assembly: Nodify

Inheritance: ObjectEventArgsRoutedEventArgsItemsMovedEventArgs

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

IReadOnlyCollection<Object>

Offset

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

public Vector Offset { get; set; }  

Property Value

Vector

Methods

InvokeEventHandler(Delegate, Object)

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

Parameters

genericHandler Delegate

genericTarget Object

Clone this wiki locally