Private Sub Highlight_Active_Row_with_Background_Color_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraGrid1.DisplayLayout.Override.ActiveRowAppearance.BackColor = Color.Red End Sub
ActiveRow Appearance オブジェクトの BackColor プロパティを使用して、アクティブな行を特定の色で強調表示することができます。
Visual Basic の場合:
Private Sub Highlight_Active_Row_with_Background_Color_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraGrid1.DisplayLayout.Override.ActiveRowAppearance.BackColor = Color.Red End Sub
C# の場合:
private void Highlight_Active_Row_with_Background_Color_Load(object sender, EventArgs e) { this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance.BackColor = Color.Red; }