ToolTipsFactory |
Gets or sets a value which defines the latency-time (in milliseconds) before the tooltip will be displayed for a control.
[Visual Basic] Public Property InitialDelay As Integer
[C#] public int InitialDelay {get; set;}
Property Value
Any positive Integer value.
Overridable Layout-file
Description
This property determines the latency-time (in milliseconds) before the tooltip will be displayed for a control. (This is the time between the pointer entering the client-area of a control and the appearance of the tooltip.)If specified at the component-level for a tooltip component (i.e. by defining the InitialDelay directly for the component), the assigned value will become the default InitialDelay for the tooltips of all controls on the same form:
'Assign an initial delay of 1.5 seconds to the tooltip component
Me.MultiLine.GetMultiLineToolTip(Panel1).InitialDelay = 1500
This default InitialDelay can be overridden for each control through the Override-property provided to all controls on the same form by the tooltip component (see "The Override-Property").
If the override-value for the InitialDelay has to be set or changed at runtime for the tooltip of a specific control, code like the following is needed:
'Override the default initial delay for the tooltip
'of Panel1...
Me.MultiLine.GetMultiLineToolTip(Panel1).Override _
.TimingOverride.InitialDelay = 200