FlexGrid for WinForms
Scaling Images in the Entire Grid
Show AllShow All
Hide AllHide All

To scale the images in the entire grid, not just one column, set the ImageAlign property for the Normal style to Scale.

In the Designer

  1. Open the C1FlexGrid Style Editor. For details on how to access the C1FlexGrid Style Editor, see Accessing the C1FlexGrid Style Editor.
  2. Select Normal in the Built-In Styles list.
  3. In the right pane, locate the ImageAlign property and set it to Scale.
  4. Click OK to close the editor.

In Code

Add the following code to the Form_Load event:

To write code in Visual Basic

To write code in C#

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback