UIActionSheet.DestructiveButtonIndex 속성

정의

파괴 단추의 인덱스 를 반환합니다.

public virtual nint DestructiveButtonIndex { [Foundation.Export("destructiveButtonIndex")] get; [Foundation.Export("setDestructiveButtonIndex:")] set; }
member this.DestructiveButtonIndex : nint with get, set

속성 값

System.System.IntPtr System.nativeint

파괴적인 단추의 인덱스입니다.

특성

설명

취소 단추가 설정되지 않은 경우 -1을 반환합니다.

단추 인덱스는 0부터 시작합니다. 0부터 시작하여 추가되는 각 단추에 대해 하나씩 증가합니다.

적용 대상