File: winforms\Managed\System\WinForms\ImageLayout.cs
Project: ndp\fx\src\System.Windows.Forms.csproj (System.Windows.Forms)
//------------------------------------------------------------------------------
// <copyright file="FlatStyle.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
namespace System.Windows.Forms {
 
    using System.Diagnostics;
    /// <include file='doc\ImageLayout.uex' path='docs/doc[@for="ImageLayout"]/*' />
    /// <devdoc>
    ///    <para>Specifies the position of the image on the control.</para>
    /// </devdoc>
    public enum ImageLayout {
        /// <include file='doc\ImageLayout.uex' path='docs/doc[@for="ImageLayout.None"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The image is aligned TOP - LEFT across the controls client rectangle.
        ///    </para>
        /// </devdoc>
        None,
        /// <include file='doc\ImageLayout.uex' path='docs/doc[@for="ImageLayout.Tile"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The image is tiled across the controls client rectangle.
        ///    </para>
        /// </devdoc>
        Tile,
        /// <include file='doc\ImageLayout.uex' path='docs/doc[@for="ImageLayout.Center"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The image is centred within the controls client rectangle.
        ///    </para>
        /// </devdoc>
        Center,
        /// <include file='doc\ImageLayout.uex' path='docs/doc[@for="ImageLayout.Stretch"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The image is streched across the controls client rectangle.
        ///    </para>
        /// </devdoc>
        Stretch,
        /// <include file='doc\ImageLayout.uex' path='docs/doc[@for="ImageLayout.Zoom"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The image is streched across the controls client rectangle.
        ///    </para>
        /// </devdoc>
        Zoom,
    }
}