Edit

Share via


UISegmentedControl.SetTitle(String, nint) Method

Definition

Set a title for a particular segment.

[Foundation.Export("setTitle:forSegmentAtIndex:")]
public virtual void SetTitle (string title, nint segment);
abstract member SetTitle : string * nint -> unit
override this.SetTitle : string * nint -> unit

Parameters

title
String

The title to set.

segment
System.System.IntPtr System.nativeint

The segment index.

Attributes

Applies to