Share via


UISegmentedControl.TitleAt(IntPtr) Method

Definition

Allows the title for a particular segment to be retrieved.

[Foundation.Export("titleForSegmentAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual string? TitleAt(IntPtr segment);
[<Foundation.Export("titleForSegmentAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TitleAt : nativeint -> string
override this.TitleAt : nativeint -> string

Parameters

segment
IntPtr

nativeint

The segment index to return the title for.

Returns

The title for a given segment

Attributes

Remarks

Retuns null if a title has not been set.

Applies to