Condividi tramite


Activity.ActionBar Property

Definition

Retrieve a reference to this activity's ActionBar.

public virtual Android.App.ActionBar? ActionBar { [Android.Runtime.Register("getActionBar", "()Landroid/app/ActionBar;", "GetGetActionBarHandler")] get; }
[<get: Android.Runtime.Register("getActionBar", "()Landroid/app/ActionBar;", "GetGetActionBarHandler")>]
member this.ActionBar : Android.App.ActionBar

Property Value

The Activity's ActionBar, or null if it does not have one.

Attributes

Remarks

Retrieve a reference to this activity's ActionBar.

Java documentation for android.app.Activity.getActionBar().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to