Version

SelectionOverlayBorderColor Property

Gets or sets the color used for the borders drawn around the selected row (task) in the grid portion of the GanttView.
Syntax
'Declaration
 
Public Property SelectionOverlayBorderColor As Color
public Color SelectionOverlayBorderColor {get; set;}
Remarks

If no borders are desired, this property can be set to System.Drawing.Color.Transparent.

Example
This sample code illustrates the selection overlay settings that will be applied when a row(task) is selected in the grid portion of the control.

Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinGanttView


Private Sub setSelectionOverlay() 
    
    ' Sets the color for the borders drawn around the selected row(task) in the grid portion of the control 
    Me.ultraGanttView1.GridSettings.SelectionOverlayBorderColor = Color.Red 
    ' Sets the thickness of the border drawn around the selection overlay  in the grid portion of the control 
    Me.ultraGanttView1.GridSettings.SelectionOverlayBorderThickness = 4 
    ' Sets the color to overlay the selected row(Task) in the grid portion of the control 
    Me.ultraGanttView1.GridSettings.SelectionOverlayColor = Color.Green 

End Sub
using Infragistics.Win.UltraWinSchedule;
using Infragistics.Win.UltraWinGanttView;


private void setSelectionOverlay()
{

	  // Sets the color for the borders drawn around the selected row(task) in the grid portion of the control
     this.ultraGanttView1.GridSettings.SelectionOverlayBorderColor = Color.Red;
    // Sets the thickness of the border drawn around the selection overlay  in the grid portion of the control 
     this.ultraGanttView1.GridSettings.SelectionOverlayBorderThickness = 4;
    // Sets the color to overlay the selected row(Task) in the grid portion of the control
     this.ultraGanttView1.GridSettings.SelectionOverlayColor = Color.Green;
}
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