編集

次の方法で共有


UISegmentedControl.InsertSegment Method

Definition

Overloads

InsertSegment(String, nint, Boolean)

Inserts a segment named at , optionally animating the insert.

InsertSegment(UIImage, nint, Boolean)

Inserts a segment with as its content at , optionally animating the insert.

InsertSegment(String, nint, Boolean)

Inserts a segment named at , 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 as its content at , 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