Skip to main content

LayerCollection.Swap(Int32, Int32) Method

Swaps two indexes of a layer in the layer collection.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

public void Swap(
    int index1,
    int index2
)

Parameters

Name Type Description
index1 Int32

An integer value that represents the first layer’s index to be swapped with the second layer’s index in the layer collection.

index2 Int32

An integer value that represents the second layer’s index to be swapped with the first layer’s index in the layer collection.

See Also