Control.BackgroundImageLayout Property
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.
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
Property Value
One of the values of ImageLayout (Center , None, Stretch, Tile, or Zoom). Tile is the default value.
Exceptions
The specified enumeration value does not exist.
Remarks
Use the BackgroundImageLayout property to specify the position and behavior of an image you have placed onto a control. BackgroundImageLayout takes effect only if the BackgroundImage property is set.
You can increase performance for large images if you set BackgroundImageLayout to something other than Tile.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om