File: winforms\Managed\System\WinForms\HorizontalAlignment.cs
Project: ndp\fx\src\System.Windows.Forms.csproj (System.Windows.Forms)
//------------------------------------------------------------------------------
// <copyright file="HorizontalAlignment.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
/*
 */
namespace System.Windows.Forms {
 
    using System.Diagnostics;
 
    using System;
    using System.Drawing;
    using System.ComponentModel;
    using Microsoft.Win32;
 
 
    /// <include file='doc\HorizontalAlignment.uex' path='docs/doc[@for="HorizontalAlignment"]/*' />
    /// <devdoc>
    ///    <para>
    ///       Specifies how an object or text in a control is
    ///       horizontally aligned relative to an element of the control.
    ///    </para>
    /// </devdoc>
    [System.Runtime.InteropServices.ComVisible(true)]
    public enum HorizontalAlignment {
 
        /// <include file='doc\HorizontalAlignment.uex' path='docs/doc[@for="HorizontalAlignment.Left"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The object or text is aligned on the left of the control element.
        ///    </para>
        /// </devdoc>
        Left = 0,
 
        /// <include file='doc\HorizontalAlignment.uex' path='docs/doc[@for="HorizontalAlignment.Right"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The object or text is aligned on the right of the control element.
        ///    </para>
        /// </devdoc>
        Right = 1,
 
        /// <include file='doc\HorizontalAlignment.uex' path='docs/doc[@for="HorizontalAlignment.Center"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The object or text is aligned in the center of the control element.
        ///    </para>
        /// </devdoc>
        Center = 2,
 
    }
}