View.SetBackgroundDrawable(Drawable) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
deprecated
Imposta l'oggetto disegnabile utilizzato come sfondo di questa visualizzazione.
[Android.Runtime.Register("setBackgroundDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetBackgroundDrawable_Landroid_graphics_drawable_Drawable_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetBackgroundDrawable(Android.Graphics.Drawables.Drawable? background);
[<Android.Runtime.Register("setBackgroundDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetBackgroundDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetBackgroundDrawable : Android.Graphics.Drawables.Drawable -> unit
override this.SetBackgroundDrawable : Android.Graphics.Drawables.Drawable -> unit
Parametri
- background
- Drawable
Valore Android.Graphics.Drawables.Drawable utilizzato per lo sfondo.
- Attributi
Commenti
Questo membro è deprecato. usare invece #setBackground(Drawable)
per android.view.View.setBackgroundDrawable(android.graphics.drawable.Drawable).
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.