ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.RecordSelectorWidth Property

Gets or sets the width of the row headers.

[Visual Basic]

Public Property RecordSelectorWidth As Integer

[C#]

public int RecordSelectorWidth {get;set;}

[Delphi]

public property RecordSelectorWidth: Int32 read get_RecordSelectorWidth write set_RecordSelectorWidth;

Remarks

The RecordSelectorWidth returns to default when set to 0. The default width of the record selector column is equal to the width of the vertical scroll bar.

Example

The following code gives the record selector a width of 100:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).RecordSelectorWidth = 100

·      C#

       this.c1TrueDBGrid1.Splits[0].RecordSelectorWidth = 100;

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].RecordSelectorWidth := 100;

See Also

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


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