ToolStripItem.BackgroundImage Propiedad
Definición
Obtiene o establece la imagen de fondo que se muestra en el elemento.Gets or sets the background image displayed in the item.
public:
virtual property System::Drawing::Image ^ BackgroundImage { System::Drawing::Image ^ get(); void set(System::Drawing::Image ^ value); };
public virtual System.Drawing.Image BackgroundImage { get; set; }
member this.BackgroundImage : System.Drawing.Image with get, set
Public Overridable Property BackgroundImage As Image
Valor de propiedad
Image que representa la imagen que se va a mostrar en el fondo del elemento.An Image that represents the image to display in the background of the item.
Comentarios
Utilice la BackgroundImage propiedad para colocar una imagen gráfica en un elemento.Use the BackgroundImage property to place a graphic image onto an item.
Nota
Los controles de Windows Forms no admiten imágenes con colores translúcido o transparentes como imágenes de fondo.Images with translucent or transparent colors are not supported by Windows Forms controls as background images.
Esta propiedad no se admite en los controles secundarios RightToLeftLayout cuya propiedad true
es.This property is not supported on child controls whose RightToLeftLayout property is true
.
Notas a los desarrolladores de herederos
No es necesario reemplazar los get
descriptores de acceso y set
de la BackgroundImage propiedad; solo se puede reemplazar uno si es necesario.You are not required to override both the get
and set
accessors of the BackgroundImage property; you can override only one if needed.