Gets or sets the color used to overlay the selected row (task) in the grid portion of the GanttView.
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
'Declaration
Public Property SelectionOverlayColor As Color
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;
}
'Declaration
Public Property SelectionOverlayColor As Color
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