docs.unity.cn

Visual Scripting 1.9.0

    Show / Hide Table of Contents

    Class ItemMovedEventArgs

    Arguments which are passed to ItemMovedEventHandler.

    Inheritance
    Object
    EventArgs
    ItemMovedEventArgs
    Inherited Members
    EventArgs.Empty
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.VisualScripting.ReorderableList
    Syntax
    public sealed class ItemMovedEventArgs : EventArgs

    Constructors

    ItemMovedEventArgs(IReorderableListAdaptor, Int32, Int32)

    Initializes a new instance of ItemMovedEventArgs.

    Declaration
    public ItemMovedEventArgs(IReorderableListAdaptor adaptor, int oldItemIndex, int newItemIndex)
    Parameters
    Type Name Description
    IReorderableListAdaptor adaptor

    Reorderable list adaptor.

    Int32 oldItemIndex

    Old zero-based index of item.

    Int32 newItemIndex

    New zero-based index of item.

    Properties

    Adaptor

    Gets adaptor to reorderable list container which contains element.

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

    NewItemIndex

    Gets new zero-based index of the item which was moved.

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

    OldItemIndex

    Gets old zero-based index of the item which was moved.

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

    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)
    In This Article
    • Constructors
      • ItemMovedEventArgs(IReorderableListAdaptor, Int32, Int32)
    • Properties
      • Adaptor
      • NewItemIndex
      • OldItemIndex
    • Extension Methods
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, August 4, 2023