UIKit.UIView.ExchangeSubview Method
This method exchanges the indices of two UIKit.UIViews within the UIView.Subviews array.

Syntax

[Foundation.Export("exchangeSubviewAtIndex:withSubviewAtIndex:")]
public virtual void ExchangeSubview (nint atIndex, nint withSubviewAtIndex)

See Also

UIView.AddSubview
UIView.InsertSubview
UIView.InsertSubviewAbove
UIView.InsertSubviewBelow

Parameters

atIndex
An index within the zero-based UIView.Subviews array.
withSubviewAtIndex
Another index within the zero-based UIView.Subviews array.

Remarks

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0