Gets or sets a value that determines how columns will resize when the grid is resized.
[Visual Basic]
Public Property SpringMode As Boolean
[C#]
public bool SpringMode {get;set;}
[Delphi]
public property SpringMode: Boolean read get_SpringMode write set_SpringMode;
Remarks
When this property is set to True and the grid is horizontally resized, the column widths for visible columns will expand and/or shrink proportionally.
When set to False (the default), column widths do not change as the grid is horizontally resized.
Note: Control the minimum width on a per column basis by using the C1DisplayColumn.MinWidth property of individual C1DataColumn objects.
Example
For an example using the SpringMode property, see Expanding or Shrinking Columns During Grid Resizing.
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |