DataGridViewContentAlignment
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Defines constants that indicate the alignment of content within a DataGridView cell.
- C#
- VB.NET
public enum DataGridViewContentAlignment
Public Enum DataGridViewContentAlignment
Fields
| Name | Description | Value |
|---|---|---|
| BottomCenter | The content is aligned vertically at the bottom and horizontally at the center of a cell. | |
| BottomLeft | The content is aligned vertically at the bottom and horizontally at the left of a cell. | |
| BottomRight | The content is aligned vertically at the bottom and horizontally at the right of a cell. | |
| MiddleCenter | The content is aligned at the vertical and horizontal center of a cell. | |
| MiddleLeft | The content is aligned vertically at the middle and horizontally at the left of a cell. | |
| MiddleRight | The content is aligned vertically at the middle and horizontally at the right of a cell. | |
| NotSet | The alignment is not set. | |
| TopCenter | The content is aligned vertically at the top and horizontally at the center of a cell. | |
| TopLeft | The content is aligned vertically at the top and horizontally at the left of a cell. | |
| TopRight | The content is aligned vertically at the top and horizontally at the right of a cell. |
Used By
| Name | Description |
|---|---|
| DataGridViewImageCell.ImageAlignment | Gets or sets the alignment of the image in the cell. |
| DataGridViewImageColumn.CellImageAlignment | Gets or sets the image alignment in the cells for the column. |
| DataGridViewCellStyle.Alignment | Returns or sets a value indicating the position of the cell content within a DataGridViewCell cell. |