Skip to main content
Version: 3.5

DataGridViewImageCellLayout

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Specifies the layout for an image contained in a DataGridViewCell.

public enum DataGridViewImageCellLayout : Enum

Fields

NameDescription
BestFitThe image is scaled to the largest size such that both its width and its height can fit inside the content area.
CenterThe image is centered within the cell's client rectangle.
NoneThe image is left-aligned at the top across the cell's client rectangle.
NotSetThe layout specification has not been set.
OriginalSizeThe image left-aligned at the top and sized using the image original size.
StretchThe image is stretched across the cell's client rectangle.
TileThe image is tiled across the cell's client rectangle.
ZoomThe image is enlarged within the cell's client rectangle.

Used By

NameDescription
DataGridViewImageCell.ImageLayoutGets or sets the layout of the image in the cell.
DataGridViewImageColumn.CellImageLayoutGets or sets the image layout in the cells for this column.