AlertDialog.Builder.SetInverseBackgroundForced(Boolean) Method
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.
This method was deprecated in API level 23.
[Android.Runtime.Register("setInverseBackgroundForced", "(Z)Landroid/app/AlertDialog$Builder;", "GetSetInverseBackgroundForced_ZHandler")]
public virtual Android.App.AlertDialog.Builder SetInverseBackgroundForced(bool useInverseBackground);
[<Android.Runtime.Register("setInverseBackgroundForced", "(Z)Landroid/app/AlertDialog$Builder;", "GetSetInverseBackgroundForced_ZHandler")>]
abstract member SetInverseBackgroundForced : bool -> Android.App.AlertDialog.Builder
override this.SetInverseBackgroundForced : bool -> Android.App.AlertDialog.Builder
Parameters
- useInverseBackground
- Boolean
boolean: whether to use the inverse background
Returns
this Builder object to allow for chaining of calls to set methods
- Attributes
Remarks
This method was deprecated in API level 23. This flag is only used for pre-Material themes. Instead, specify the window background using on the alert dialog theme.
Sets the alert dialog to use the inverse background, regardless of what the contents is.
Android reference for android.app.AlertDialog.Builder.setInverseBackgroundForced.
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.