Window.StatusBarContrastEnforced 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.
Returns whether the system is ensuring that the status bar has enough contrast when a fully transparent background is requested. -or- Sets whether the system should ensure that the status bar has enough contrast when a fully transparent background is requested.
public virtual bool StatusBarContrastEnforced { [Android.Runtime.Register("isStatusBarContrastEnforced", "()Z", "GetIsStatusBarContrastEnforcedHandler", ApiSince=29)] get; [Android.Runtime.Register("setStatusBarContrastEnforced", "(Z)V", "GetSetStatusBarContrastEnforced_ZHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("isStatusBarContrastEnforced", "()Z", "GetIsStatusBarContrastEnforcedHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setStatusBarContrastEnforced", "(Z)V", "GetSetStatusBarContrastEnforced_ZHandler", ApiSince=29)>]
member this.StatusBarContrastEnforced : bool with get, set
Property Value
true, if the system is ensuring contrast, false otherwise.
- Attributes
Remarks
Property getter documentation:
Java documentation for android.view.Window.isStatusBarContrastEnforced().
Property setter documentation:
Java documentation for android.view.Window.setStatusBarContrastEnforced(boolean).
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.