ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.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 sets the RecordSelectorWidth property to 100px:

·      Visual Basic

       Me.C1TrueDBGrid1.RecordSelectorWidth = 100

·      C#

       this.c1TrueDBGrid1.RecordSelectorWidth = 100;

·      Delphi

       Self.C1TrueDBGrid1.RecordSelectorWidth := 100;

For more examples on this property, see the Zoom sample on http://helpcentral.componentone.com/ProductResources.aspx.

See Also

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


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