ActionProvider.IsVisible Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If #overridesItemVisibility()
returns true, the return value of this method
will help determine the visibility of the MenuItem
this ActionProvider is bound to.
public virtual bool IsVisible { [Android.Runtime.Register("isVisible", "()Z", "GetIsVisibleHandler")] get; }
[<get: Android.Runtime.Register("isVisible", "()Z", "GetIsVisibleHandler")>]
member this.IsVisible : bool
Property Value
true if the MenuItem this ActionProvider is bound to is visible, false if it is invisible. The default implementation returns true.
- Attributes
Remarks
If #overridesItemVisibility()
returns true, the return value of this method will help determine the visibility of the MenuItem
this ActionProvider is bound to.
If the MenuItem's visibility is explicitly set to false by the application, the MenuItem will not be shown, even if this method returns true.
Java documentation for android.view.ActionProvider.isVisible()
.
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.