| File: System\Windows\Forms\Controls\DataGridView\DataGridViewContentAlignment.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; public enum DataGridViewContentAlignment { NotSet = 0x000, /// <summary> /// Content is vertically aligned at the top, and horizontally aligned /// on the left. /// </summary> TopLeft = 0x001, /// <summary> /// Content is vertically aligned at the top, and horizontally aligned /// at the center. /// </summary> TopCenter = 0x002, /// <summary> /// Content is vertically aligned at the top, and horizontally aligned /// on the right. /// </summary> TopRight = 0x004, /// <summary> /// Content is vertically aligned in the middle, and horizontally aligned /// on the left. /// </summary> MiddleLeft = 0x010, /// <summary> /// Content is vertically aligned in the middle, and horizontally aligned /// at the center. /// </summary> MiddleCenter = 0x020, /// <summary> /// Content is vertically aligned in the middle, and horizontally aligned /// on the right. /// </summary> MiddleRight = 0x040, /// <summary> /// Content is vertically aligned at the bottom, and horizontally aligned /// on the left. /// </summary> BottomLeft = 0x100, /// <summary> /// Content is vertically aligned at the bottom, and horizontally aligned /// at the center. /// </summary> BottomCenter = 0x200, /// <summary> /// Content is vertically aligned at the bottom, and horizontally aligned /// on the right. /// </summary> BottomRight = 0x400, }