'Declaration Public Event DateTimeIntervalLabelToolTipDisplaying As DateTimeIntervalLabelToolTipDisplayingHandler
public event DateTimeIntervalLabelToolTipDisplayingHandler DateTimeIntervalLabelToolTipDisplaying
The event handler receives an argument of type DateTimeIntervalLabelToolTipDisplayingEventArgs containing data related to this event. The following DateTimeIntervalLabelToolTipDisplayingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel (Inherited from System.ComponentModel.CancelEventArgs) | |
DateTimeInterval | Returns the associated DateTimeInterval. |
ToolTipInfo (Inherited from Infragistics.Win.UltraWinSchedule.ToolTipEventArgs) | Returns or sets the ToolTipInfo structure that contains information about the tooltip about to be displayed. |
UIElement | Returns the DateTimeIntervalLabelUIElement instance for which the tooltip is about to be displayed. |
Imports System.Collections.Generic Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.Diagnostics Public Sub DisableAllToolTips(ByVal control As UltraTimelineView) ' Register an event handler for each of the tooltip events ' since all the tooltip event args classes derive from ' ToolTipEventArgs, they can share the handler. AddHandler control.ColumnHeaderToolTipDisplaying, AddressOf Me.OnToolTipDisplaying AddHandler control.OwnerHeaderToolTipDisplaying, AddressOf Me.OnToolTipDisplaying AddHandler control.ActivityScrollButtonToolTipDisplaying, AddressOf Me.OnToolTipDisplaying AddHandler control.AppointmentToolTipDisplaying, AddressOf Me.OnToolTipDisplaying AddHandler control.HolidayToolTipDisplaying, AddressOf Me.OnToolTipDisplaying AddHandler control.DateTimeIntervalLabelToolTipDisplaying, AddressOf Me.OnToolTipDisplaying End Sub Private Sub OnToolTipDisplaying(ByVal sender As Object, ByVal e As ToolTipEventArgs) e.Cancel = True End Sub
using System.Collections.Generic; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.Diagnostics; public void DisableAllToolTips( UltraTimelineView control ) { // Register an event handler for each of the tooltip events; // since all the tooltip event args classes derive from // ToolTipEventArgs, they can share the handler. control.ColumnHeaderToolTipDisplaying += new ColumnHeaderToolTipDisplayingHandler(this.OnToolTipDisplaying); control.OwnerHeaderToolTipDisplaying += new OwnerHeaderToolTipDisplayingHandler(this.OnToolTipDisplaying); control.ActivityScrollButtonToolTipDisplaying += new ActivityScrollButtonToolTipDisplayingHandler(this.OnToolTipDisplaying); control.AppointmentToolTipDisplaying += new AppointmentToolTipDisplayingHandler(this.OnToolTipDisplaying); control.HolidayToolTipDisplaying += new HolidayToolTipDisplayingHandler(this.OnToolTipDisplaying); control.DateTimeIntervalLabelToolTipDisplaying += new DateTimeIntervalLabelToolTipDisplayingHandler(this.OnToolTipDisplaying); } private void OnToolTipDisplaying(object sender, ToolTipEventArgs e) { e.Cancel = true; }
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