Gets or sets how interactive row resizing is performed.
[Visual Basic]
Public Property AllowRowSizing As RowSizingEnum
[C#]
public RowSizingEnum AllowRowSizing {get;set;}
[Delphi]
public property AllowRowSizing: RowSizingEnum read get_AllowRowSizing write set_AllowRowSizing;
Remarks
The RecordSelectors must be visible in a split in order for the user to resize rows interactively in that split. If the RecordSelectors are disabled for all splits in a C1TrueDBGrid control, the user cannot resize rows interactively in that grid.
Example
The following code uses the AllowRowSizing property to allow the user to resize individual rows:
Me.C1TrueDBGrid1.AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.IndividualRows
· C#
this.c1TrueDBGrid1.AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.IndividualRows;
· Delphi
Self.C1TrueDBGrid1.AllowRowSizing := C1.Win.C1TrueDBGrid.RowSizingEnum.IndividualRows;
For an example demonstrating the AllowRowSizing property, see Setting Multiple Height Values for Rows.
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |