ComponentOne VSFlexGrid 8.0
WallPaperAlignment Property

Returns or sets the alignment of the WallPaper background picture.

Syntax

[form!]VSFlexGrid.WallPaperAlignment[ = PictureAlignmentSettings ]

Remarks

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.

Data Type

PictureAlignmentSettings (Enumeration)

Default Value

flexPicAlignStretch (9)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback