Edytuj

Udostępnij za pośrednictwem


UIView.ExchangeSubview(nint, nint) Method

Definition

This method exchanges the indices of two UIViews within the Subviews array.

[Foundation.Export("exchangeSubviewAtIndex:withSubviewAtIndex:")]
public virtual void ExchangeSubview (nint atIndex, nint withSubviewAtIndex);
abstract member ExchangeSubview : nint * nint -> unit
override this.ExchangeSubview : nint * nint -> unit

Parameters

atIndex
System.System.IntPtr System.nativeint

An index within the zero-based Subviews array.

withSubviewAtIndex
System.System.IntPtr System.nativeint

Another index within the zero-based Subviews array.

Attributes

Applies to

See also

  • <xref:UIKit.UIView.AddSubview>
  • <xref:UIKit.UIView.InsertSubview>
  • <xref:UIKit.UIView.InsertSubviewAbove>
  • <xref:UIKit.UIView.InsertSubviewBelow>