docs.unity3d.com
    Show / Hide Table of Contents

    Class ItemMovingEventArgs

    Arguments which are passed to ItemMovingEventHandler.

    Inheritance
    Object
    ItemMovingEventArgs
    Namespace: Unity.VisualScripting.ReorderableList
    Syntax
    public sealed class ItemMovingEventArgs : CancelEventArgs

    Constructors

    ItemMovingEventArgs(IReorderableListAdaptor, Int32, Int32)

    Initializes a new instance of ItemMovingEventArgs.

    Declaration
    public ItemMovingEventArgs(IReorderableListAdaptor adaptor, int itemIndex, int destinationItemIndex)
    Parameters
    Type Name Description
    IReorderableListAdaptor adaptor

    Reorderable list adaptor.

    Int32 itemIndex

    Zero-based index of item.

    Int32 destinationItemIndex

    Xero-based index of item destination.

    Properties

    Adaptor

    Gets adaptor to reorderable list container which contains element.

    Declaration
    public IReorderableListAdaptor Adaptor { get; }
    Property Value
    Type Description
    IReorderableListAdaptor

    DestinationItemIndex

    Gets the new candidate zero-based index for the item.

    Declaration
    public int DestinationItemIndex { get; }
    Property Value
    Type Description
    Int32
    See Also
    NewItemIndex

    ItemIndex

    Gets current zero-based index of item which is going to be moved.

    Declaration
    public int ItemIndex { get; }
    Property Value
    Type Description
    Int32

    NewItemIndex

    Gets zero-based index of item after it has been moved.

    Declaration
    public int NewItemIndex { get; }
    Property Value
    Type Description
    Int32
    See Also
    DestinationItemIndex

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023