File: System\Windows\Forms\Layout\ImageLayout.cs
Web Access
Project: src\src\System.Windows.Forms\src\System.Windows.Forms.csproj (System.Windows.Forms)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Windows.Forms;
 
/// <summary>
///  Specifies the position of the image on the control.
/// </summary>
public enum ImageLayout
{
    /// <summary>
    ///  The image is left-aligned at the top across the control's client rectangle.
    /// </summary>
    None,
 
    /// <summary>
    ///  The image is tiled across the control's client rectangle.
    /// </summary>
    Tile,
 
    /// <summary>
    ///  The image is centered within the controls client rectangle.
    /// </summary>
    Center,
 
    /// <summary>
    ///  The image is stretched across the control's client rectangle.
    /// </summary>
    Stretch,
 
    /// <summary>
    ///  The image is enlarged within the control's client rectangle.
    /// </summary>
    Zoom
}