DataGridViewContentAlignment

Wisej.Web.DataGridViewContentAlignment

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Defines constants that indicate the alignment of content within a DataGridView cell.

public enum DataGridViewContentAlignment : Enum

Fields

NameDescription

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

NameDescription

Gets or sets the alignment of the image in the cell.

Gets or sets the image alignment in the cells for the column.

Returns or sets a value indicating the position of the cell content within a DataGridViewCell cell.

Last updated