Version

SelectionOverlayColor Property

Gets or sets the color used to overlay the selected row (task) in the grid portion of the GanttView.
Syntax
'Declaration
 
Public Property SelectionOverlayColor As Color
public Color SelectionOverlayColor {get; set;}
Remarks

If an Alpha channel exists in the specified color, then that alpha channel will be used to overlay the row. If no Alpha channel is specified, then a default alpha level will be used, rather than overlaying the row with a solid color.

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