ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.HighLightRowStyle Property

Gets or sets the Style object that controls the appearance of a highlighted row.

[Visual Basic]

Public Property HighLightRowStyle As C1.Win.C1TrueDBGrid.Style

[C#]

public C1.Win.C1TrueDBGrid.Style HighLightRowStyle {get;set;}

[Delphi]

public property HighLightRowStyle: C1.Win.C1TrueDBGrid.Style read get_HighLightRowStyle write set_HighLightRowStyle;

Example

The following code assigns a purple background to the highlighted cells in the C1TrueDBDropdown control:

·      Visual Basic

       Me.C1TrueDBDropdown1.HighLightRowStyle.BackColor = Color.Purple

·      C#

       this.c1TrueDBDropdown1.HighLightRowStyle.BackColor = Color.Purple;

·      Delphi

       Self.C1TrueDBDropdown1.HighLightRowStyle.BackColor := Color.Purple;

See Also

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


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