FlexGrid for WinForms
Step 3 of 3: Customizing C1FlexGrid Settings

The following steps will walk you through setting a format string, Visual Style, and built-in styles for the grid.

  1. Resize the first column in the grid by dragging the horizontal double arrow that appears at the right edge of the first column's header to the left until the UnitPrice column is visible:
  2. Click the UnitPrice column to open the Column Tasks menu.
  3. Click the ellipsis button next to the Format String text box to open the Format String dialog box.
  4. In the Format String dialog box, select Currency under Format type and click OK.
  5. In the Properties window, locate the VisualStyle property and set it to Office2007Blue.
  6. Open the C1FlexGrid Tasks menu. The Column Tasks menu will appear since we last edited a column using the Tasks menu. Select C1FlexGrid Tasks to return to the C1FlexGrid Tasks menu.
  7. On the C1FlexGrid Tasks menu, select Styles to open the C1FlexGrid Style Editor.
  8. In the C1FlexGrid Style Editor under Built-In Styles, select Fixed.
  9. Expand the Font node in the right pane and set the Bold property to True.
  10. Set the ForeColor property to CornflowerBlue on the Web tab and click OK to close the dialog box.

Run the program and observe the following:

The grid application displays a the Products table using a format string, Visual Style, and built-in styles.


You have successfully set the format string, Visual Style, and built-in styles for the grid. This concludes the Quick Start.

See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback