DataGridViewImageCellLayout
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Specifies the layout for an image contained in a DataGridViewCell.
- C#
- VB.NET
public enum DataGridViewImageCellLayout : Enum
Public Enum DataGridViewImageCellLayout As [Enum]
Fields
| Name | Description |
|---|---|
| BestFit | The image is scaled to the largest size such that both its width and its height can fit inside the content area. |
| Center | The image is centered within the cell's client rectangle. |
| None | The image is left-aligned at the top across the cell's client rectangle. |
| NotSet | The layout specification has not been set. |
| OriginalSize | The image left-aligned at the top and sized using the image original size. |
| Stretch | The image is stretched across the cell's client rectangle. |
| Tile | The image is tiled across the cell's client rectangle. |
| Zoom | The image is enlarged within the cell's client rectangle. |
Used By
| Name | Description |
|---|---|
| DataGridViewImageCell.ImageLayout | Gets or sets the layout of the image in the cell. |
| DataGridViewImageColumn.CellImageLayout | Gets or sets the image layout in the cells for this column. |