Share via


UIStackView.InsertArrangedSubview(UIView, UIntPtr) Method

Definition

Adds view to the stack at the specified stackIndex.

[Foundation.Export("insertArrangedSubview:atIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void InsertArrangedSubview(UIKit.UIView view, UIntPtr stackIndex);
[<Foundation.Export("insertArrangedSubview:atIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member InsertArrangedSubview : UIKit.UIView * unativeint -> unit
override this.InsertArrangedSubview : UIKit.UIView * unativeint -> unit

Parameters

view
UIView

The UIView to be added.

stackIndex
UIntPtr

unativeint

The zero-based index at which to insert the view.

Attributes

Applies to