ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.AllowRowSizing Property

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 RecordSelectors are disabled for all splits in a C1TrueDBGrid control, the user cannot resize rows interactively in that grid.

Example

The following code allows individual rows to be resized:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(1).AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.IndividualRows

·      C#

       this.c1TrueDBGrid1.Splits[1].AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.IndividualRows;

·      Delphi

       Self.C1TrueDBGrid1.Splits[1].AllowRowSizing := C1.Win.C1TrueDBGrid.RowSizingEnum.IndividualRows;

See Also

Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.