Control.BackgroundImageLayout Propiedad
Definición
Obtiene o establece el diseño de imagen de fondo como se define en la enumeración ImageLayout.Gets or sets the background image layout as defined in the ImageLayout enumeration.
public:
virtual property System::Windows::Forms::ImageLayout BackgroundImageLayout { System::Windows::Forms::ImageLayout get(); void set(System::Windows::Forms::ImageLayout value); };
public virtual System.Windows.Forms.ImageLayout BackgroundImageLayout { get; set; }
member this.BackgroundImageLayout : System.Windows.Forms.ImageLayout with get, set
Public Overridable Property BackgroundImageLayout As ImageLayout
Valor de propiedad
Uno de los valores de ImageLayout (Center, None, Stretch, Tile o Zoom).One of the values of ImageLayout (Center , None, Stretch, Tile, or Zoom). El valor predeterminado es Tile.Tile is the default value.
Excepciones
El valor de enumeración especificado no existe.The specified enumeration value does not exist.
Comentarios
Utilice la BackgroundImageLayout propiedad para especificar la posición y el comportamiento de una imagen que ha colocado en un control.Use the BackgroundImageLayout property to specify the position and behavior of an image you have placed onto a control. BackgroundImageLayout solo surte efecto si BackgroundImage se establece la propiedad.BackgroundImageLayout takes effect only if the BackgroundImage property is set.
Puede aumentar el rendimiento de las imágenes grandes si establece BackgroundImageLayout en un valor distinto de Tile .You can increase performance for large images if you set BackgroundImageLayout to something other than Tile.