ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.ExposeCellMode Property

Gets or sets how the rightmost column reacts when clicked by the user.

[Visual Basic]

Public Property ExposeCellMode As ExposeCellModeEnum

[C#]

public ExposeCellModeEnum ExposeCellMode {get;set;}

[Delphi]

public property ExposeCellMode: ExposeCellModeEnum read get_ExposeCellMode write set_ExposeCellMode;

Example

The following code scrolls to the rightmost column when a row is selected:

·      Visual Basic

       Me.C1TrueDBGrid1.ExposeCellMode = C1.Win.C1TrueDBGrid.ExposeCellModeEnum.ScrollOnSelect

·      C#

       this.c1TrueDBGrid1.ExposeCellMode = C1.Win.C1TrueDBGrid.ExposeCellModeEnum.ScrollOnSelect;

·      Delphi

       Self.C1TrueDBGrid1.ExposeCellMode := C1.Win.C1TrueDBGrid.ExposeCellModeEnum.ScrollOnSelect;

See Also

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


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