FlexGrid for WinForms Task-Based Help > Scaling an Image > Scaling Images in the Entire Grid |
To scale the images in the entire grid, not just one column, set the ImageAlign property for the Normal style to Scale.
Add the following code to the Form_Load event:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1FlexGrid1.Styles("Normal").ImageAlign = C1.Win.C1FlexGrid.ImageAlignEnum.Scale |
To write code in C#
C# |
Copy Code
|
---|---|
this.c1FlexGrid1.Styles["Normal"].ImageAlign = C1.Win.C1FlexGrid.ImageAlignEnum.Scale; |