UIActionSheet.FirstOtherButtonIndex Property

Definition

The index of the first custom button. Read-only.

public virtual nint FirstOtherButtonIndex { [Foundation.Export("firstOtherButtonIndex")] get; }
member this.FirstOtherButtonIndex : nint

Property Value

System.System.IntPtr System.nativeint
Attributes

Remarks

Will return -1 if no custom buttons have been set.

Button indices are zero based. They start at zero and increment by one for each button that is added.

Applies to