Class GridBackgroundImageMode
Defines how an image is positioned within a cell.
Inheritance
System.Object
GridBackgroundImageMode
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridBackgroundImageMode : Enum
Fields
CenterImage
The image is displayed in the center if the cell is larger than the image. If the image is larger than the cell, the picture is placed in the center of the cell and the outside edges are clipped.
Declaration
public const GridBackgroundImageMode CenterImage
Field Value
| Type |
|---|
| GridBackgroundImageMode |
Normal
The image is placed in the upper-left corner of the cell. The image is clipped if it is larger than the cell it is contained in.
Declaration
public const GridBackgroundImageMode Normal
Field Value
| Type |
|---|
| GridBackgroundImageMode |
StretchImage
The image within the cell is stretched or shrunk to fit the size of the cell.
Declaration
public const GridBackgroundImageMode StretchImage
Field Value
| Type |
|---|
| GridBackgroundImageMode |
TileImage
The image is tiled across the Cell rectangle.
Declaration
public const GridBackgroundImageMode TileImage
Field Value
| Type |
|---|
| GridBackgroundImageMode |