ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.RecordSelectors Property

Gets or sets a value indicating the visibility of row headers for Split.

[Visual Basic]

Public Property RecordSelectors As Boolean

[C#]

public bool RecordSelectors {get;set;}

[Delphi]

public property RecordSelectors: Boolean read get_RecordSelectors write set_RecordSelectors;

Remarks

If True (the default), record selectors are displayed at the left edge of the grid or split.

If False, record selectors are not displayed.

If a grid contains multiple splits, then setting its C1TrueDBGrid.RecordSelectors property has the same effect as setting the RecordSelectors property of each split individually.

Example

The following code hides the record selectors in the first split:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).RecordSelectors = False

·      C#

       this.c1TrueDBGrid1.Splits[0].RecordSelectors = false;

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].RecordSelectors := False;

See Also

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


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