Op Englesch liesen Editéieren

Deelen iwwer


UIView.ExchangeSubview(nint, nint) Method

Definition

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

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

Parameters

atIndex
System.System.IntPtr

An index within the zero-based Subviews array.

withSubviewAtIndex
System.System.IntPtr

Another index within the zero-based Subviews array.

Attributes

Applies to

Produkt Versiounen
Xamarin iOS SDK 12

See also

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