ImageLayout
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Specifies the position of the image on the control.
- C#
- VB.NET
public enum ImageLayout : Enum
Public Enum ImageLayout 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 control's client rectangle. |
| None | The image is left-aligned at the top across the control's client rectangle. |
| OriginalSize | The image left-aligned at the top and sized using the image original size. |
| Stretch | The image is stretched across the control's client rectangle. |
| Tile | The image is tiled across the control's client rectangle. |
| Zoom | The image is enlarged within the control's client rectangle. |
Used By
| Name | Description |
|---|---|
| Control.BackgroundImageLayout | Returns or sets the background image layout as defined in the ImageLayout enumeration. |
| DataGridViewCellStyle.BackgroundImageLayout | Returns or sets the background image layout as defined in the ImageLayout enumeration. |