Share via


UISegmentedControl.InsertSegment Method

Definition

Overloads

Name Description
InsertSegment(String, IntPtr, Boolean)

Inserts a segment named title at pos, optionally animating the insert.

InsertSegment(UIAction, UIntPtr, Boolean)
InsertSegment(UIImage, IntPtr, Boolean)

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

InsertSegment(String, IntPtr, Boolean)

Inserts a segment named title at pos, optionally animating the insert.

[Foundation.Export("insertSegmentWithTitle:atIndex:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void InsertSegment(string title, IntPtr pos, bool animated);
[<Foundation.Export("insertSegmentWithTitle:atIndex:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member InsertSegment : string * nativeint * bool -> unit
override this.InsertSegment : string * nativeint * bool -> unit

Parameters

title
String
pos
IntPtr

nativeint

animated
Boolean
Attributes

Applies to

InsertSegment(UIAction, UIntPtr, Boolean)

[Foundation.Export("insertSegmentWithAction:atIndex:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void InsertSegment(UIKit.UIAction action, UIntPtr segment, bool animated);
[<Foundation.Export("insertSegmentWithAction:atIndex:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member InsertSegment : UIKit.UIAction * unativeint * bool -> unit
override this.InsertSegment : UIKit.UIAction * unativeint * bool -> unit

Parameters

action
UIAction
segment
UIntPtr

unativeint

animated
Boolean
Attributes

Applies to

InsertSegment(UIImage, IntPtr, Boolean)

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

[Foundation.Export("insertSegmentWithImage:atIndex:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void InsertSegment(UIKit.UIImage image, IntPtr pos, bool animated);
[<Foundation.Export("insertSegmentWithImage:atIndex:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member InsertSegment : UIKit.UIImage * nativeint * bool -> unit
override this.InsertSegment : UIKit.UIImage * nativeint * bool -> unit

Parameters

image
UIImage
pos
IntPtr

nativeint

animated
Boolean
Attributes

Applies to