ActionBar.SelectedNavigationIndex 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此方法在 API 等級 21 中被棄用。
public abstract int SelectedNavigationIndex { [Android.Runtime.Register("getSelectedNavigationIndex", "()I", "GetGetSelectedNavigationIndexHandler")] get; }
[<get: Android.Runtime.Register("getSelectedNavigationIndex", "()I", "GetGetSelectedNavigationIndexHandler")>]
member this.SelectedNavigationIndex : int
屬性值
所選項目的位置。
- 屬性
備註
此方法在 API 等級 21 中被棄用。 動作列的導航模式已被淘汰,且不支援內嵌工具列動作列。 建議改用其他常見的導航模式。
在列表或分頁導航模式中,取得所選導覽項目的位置。
Android 參考資料。android.app.ActionBar.getSelectedNavigationIndex
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。