VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > WallPaperAlignment Property |
Returns or sets the alignment of the WallPaper background picture.
[form!]VSFlexGrid.WallPaperAlignment[ = PictureAlignmentSettings ]
The WallPaper and WallPaperAlignment properties are used to provide the VSFlexGrid control with a graphical background such as a texture or a logo.
The settings for the WallPaperAlignment property are the same as those used for the CellPicture property. The default setting, flexPicAlignStretch (9), has the advantage of ensuring that the entire picture will be visible, and that no areas of the grid will be left unpainted. However, this setting also causes the slowest repaint. If the WallPaper picture is large, consider using the flexPicAlignLeftTop (0) setting instead. If the WallPaper picture is small, consider using the flexPicAlignTile (10) setting instead.
For details on using grid wallpaper, see the WallPaper property.
PictureAlignmentSettings (Enumeration)
flexPicAlignStretch (9)