Share via


UISegmentedControl.SetTitle(String, IntPtr) Method

Definition

Set a title for a particular segment.

[Foundation.Export("setTitle:forSegmentAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetTitle(string title, IntPtr segment);
[<Foundation.Export("setTitle:forSegmentAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetTitle : string * nativeint -> unit
override this.SetTitle : string * nativeint -> unit

Parameters

title
String

The title to set.

segment
IntPtr

nativeint

The segment index.

Attributes

Applies to