PopupWindow.SetBackgroundDrawable(Drawable) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Spécifie le dessin d’arrière-plan pour cette fenêtre contextuelle.
[Android.Runtime.Register("setBackgroundDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetBackgroundDrawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetBackgroundDrawable(Android.Graphics.Drawables.Drawable? background);
[<Android.Runtime.Register("setBackgroundDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetBackgroundDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member SetBackgroundDrawable : Android.Graphics.Drawables.Drawable -> unit
override this.SetBackgroundDrawable : Android.Graphics.Drawables.Drawable -> unit
Paramètres
- background
- Drawable
arrière-plan de la fenêtre contextuelle
- Attributs
Remarques
Spécifie le dessin d’arrière-plan pour cette fenêtre contextuelle. L’arrière-plan peut être défini sur null.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.