View.ContextMenuInfo 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果 View 有額外資訊可以與上下文選單關聯,應該會實作這個功能。
protected virtual Android.Views.IContextMenuContextMenuInfo? ContextMenuInfo { [Android.Runtime.Register("getContextMenuInfo", "()Landroid/view/ContextMenu$ContextMenuInfo;", "GetGetContextMenuInfoHandler")] get; }
[<get: Android.Runtime.Register("getContextMenuInfo", "()Landroid/view/ContextMenu$ContextMenuInfo;", "GetGetContextMenuInfoHandler")>]
member this.ContextMenuInfo : Android.Views.IContextMenuContextMenuInfo
屬性值
關於應該顯示上下文選單的項目的額外資訊。 這些資訊會因不同子類別的觀點而異。
- 屬性
備註
的 android.view.View.getContextMenuInfo()Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。