Version

ToolTipSettings Property

Returns the ToolTipSettings instance which determines the information that is displayed to the user when a Task tooltip appears.
Syntax
'Declaration
 
Public ReadOnly Property ToolTipSettings As ToolTipSettings
public ToolTipSettings ToolTipSettings {get;}
Example
This sample code illustrates the various ToolTip settings available for UltraGanttView control.

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


Private Sub SetToolTips() 
    
    ' Tooltip settings for child Tasks 
    Me.ultraGanttView1.TimelineSettings.ToolTipSettings.Appearance.BackColor = Color.BlanchedAlmond 
    Me.ultraGanttView1.TimelineSettings.ToolTipSettings.DisplayCompleteThrough = DefaultableBoolean.[True] 
    Me.ultraGanttView1.TimelineSettings.ToolTipSettings.DisplayStartDateTime = DefaultableBoolean.[False] 
    
    'Tooltip settings for Milestone 
    Me.ultraGanttView1.TimelineSettings.ToolTipSettingsMilestone.Appearance.BackColor = Color.LightBlue 
    Me.ultraGanttView1.TimelineSettings.ToolTipSettingsMilestone.DisplayEndDateTime = DefaultableBoolean.[True] 
    
    ' Tooltips Settings for Percent Complete 
    Me.ultraGanttView1.TimelineSettings.ToolTipSettingsPercentComplete.DisplayDuration = DefaultableBoolean.[True] 
    
    ' Tooltip settings for Deadline 
    Me.ultraGanttView1.TimelineSettings.ToolTipSettingsDeadline.DisplayCompleteThrough = DefaultableBoolean.[True] 
    
    ' Tooltip settings for Summary Tasks 
        
    Me.ultraGanttView1.TimelineSettings.ToolTipSettingsSummary.DisplayDuration = DefaultableBoolean.[False] 

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

private void SetToolTips()
{

		// Tooltip settings for child Tasks
       this.ultraGanttView1.TimelineSettings.ToolTipSettings.Appearance.BackColor = Color.BlanchedAlmond;
       this.ultraGanttView1.TimelineSettings.ToolTipSettings.DisplayCompleteThrough = DefaultableBoolean.True;
       this.ultraGanttView1.TimelineSettings.ToolTipSettings.DisplayStartDateTime = DefaultableBoolean.False;
           
     //Tooltip settings for Milestone
       this.ultraGanttView1.TimelineSettings.ToolTipSettingsMilestone.Appearance.BackColor = Color.LightBlue;
       this.ultraGanttView1.TimelineSettings.ToolTipSettingsMilestone.DisplayEndDateTime = DefaultableBoolean.True;
            
     // Tooltips Settings for Percent Complete
        this.ultraGanttView1.TimelineSettings.ToolTipSettingsPercentComplete.DisplayDuration = DefaultableBoolean.True;

     // Tooltip settings for Deadline
        this.ultraGanttView1.TimelineSettings.ToolTipSettingsDeadline.DisplayCompleteThrough = DefaultableBoolean.True;

     // Tooltip settings for Summary Tasks
        this.ultraGanttView1.TimelineSettings.ToolTipSettingsSummary.DisplayDuration = DefaultableBoolean.False;

}
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