共用方式為


UIAlertView.ButtonCount 屬性

定義

警示檢視中包含的按鈕數目。

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

屬性值

System.System.IntPtr System.nativeint
屬性

備註

傳回警示檢視中包含的按鈕數目。

適用於