Share via


PropertyValueCollection.SetIndex Method

When overridden in a derived class, swaps the order of objects in the collection.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Sub SetIndex ( _
    currentIndex As Integer, _
    newIndex As Integer _
)
public abstract void SetIndex(
    int currentIndex,
    int newIndex
)
public:
virtual void SetIndex(
    int currentIndex, 
    int newIndex
) abstract
abstract SetIndex : 
        currentIndex:int * 
        newIndex:int -> unit 
public abstract function SetIndex(
    currentIndex : int, 
    newIndex : int
)

Parameters

  • currentIndex
    Type: System.Int32
    The index of the first object.
  • newIndex
    Type: System.Int32
    The index of the second object.

.NET Framework Security

See Also

Reference

PropertyValueCollection Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture