Edit

Share via


UISegmentedControl.InsertSegment Method

Definition

Overloads

InsertSegment(String, nint, Boolean)

Inserts a segment named <param name="title" /> at <param name="pos" />, optionally animating the insert.

InsertSegment(UIImage, nint, Boolean)

Inserts a segment with <param name="image" /> as its content at <param name="pos" />, optionally animating the insert.

InsertSegment(String, nint, Boolean)

Inserts a segment named <param name="title" /> at <param name="pos" />, optionally animating the insert.

[Foundation.Export("insertSegmentWithTitle:atIndex:animated:")]
public virtual void InsertSegment(string title, nint pos, bool animated);
abstract member InsertSegment : string * nint * bool -> unit
override this.InsertSegment : string * nint * bool -> unit

Parameters

title
String
pos
System.System.IntPtr System.nativeint
animated
Boolean
Attributes

Applies to

InsertSegment(UIImage, nint, Boolean)

Inserts a segment with <param name="image" /> as its content at <param name="pos" />, optionally animating the insert.

[Foundation.Export("insertSegmentWithImage:atIndex:animated:")]
public virtual void InsertSegment(UIKit.UIImage image, nint pos, bool animated);
abstract member InsertSegment : UIKit.UIImage * nint * bool -> unit
override this.InsertSegment : UIKit.UIImage * nint * bool -> unit

Parameters

image
UIImage
pos
System.System.IntPtr System.nativeint
animated
Boolean
Attributes

Applies to