Version

RowConnectorStyle Property

Returns or sets the style of the lines used to connect rows.
Syntax
'Declaration
 
Public Property RowConnectorStyle As RowConnectorStyle
public RowConnectorStyle RowConnectorStyle {get; set;}
Remarks

The RowConnectorStyle property is used to determine the type of line that will be used to connect child bands to their parents. You can choose from several line styles. Note that not all styles are available on all operating systems. If the version of the OS that is running your program does not support a particular line style, row connector lines formatted with that style will be drawn using solid lines.

Example
Following code changes the default look of row connectors and rows.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button22_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button22.Click

      ' Set RowConnectorStyle and RowConnectorColor to change the appearance of row
      ' connectors. Row connectors are the lines that connect sibling rows and child
      ' rows to parent rows.
      Me.ultraGrid1.DisplayLayout.RowConnectorStyle = RowConnectorStyle.Solid
      Me.ultraGrid1.DisplayLayout.RowConnectorColor = Color.DarkRed

      ' You can set the row appearance and other appearances using the Override object
      ' off the layout.
      Me.ultraGrid1.DisplayLayout.Override.RowAppearance.BackColor = Color.LightYellow

  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button22_Click(object sender, System.EventArgs e)
{	

	// Set RowConnectorStyle and RowConnectorColor to change the appearance of row
	// connectors. Row connectors are the lines that connect sibling rows and child
	// rows to parent rows.
	this.ultraGrid1.DisplayLayout.RowConnectorStyle = RowConnectorStyle.Solid;
	this.ultraGrid1.DisplayLayout.RowConnectorColor = Color.DarkRed;

	// You can set the row appearance and other appearances using the Override object
	// off the layout.
	this.ultraGrid1.DisplayLayout.Override.RowAppearance.BackColor = Color.LightYellow;

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also