| File: System\Windows\Forms\Layout\HorizontalAlignment.cs | Web Access |
| Project: src\winforms\src\System.Windows.Forms\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 how an object or text in a control is horizontally aligned /// relative to an element of the control. /// </summary> public enum HorizontalAlignment { /// <summary> /// The object or text is aligned on the left of the control element. /// </summary> Left = 0, /// <summary> /// The object or text is aligned on the right of the control element. /// </summary> Right = 1, /// <summary> /// The object or text is aligned in the center of the control element. /// </summary> Center = 2, }