ToolTip.AutomaticDelay ToolTip.AutomaticDelay ToolTip.AutomaticDelay ToolTip.AutomaticDelay Property

定义

获取或设置工具提示的自动延迟。Gets or sets the automatic delay for the ToolTip.

public:
 property int AutomaticDelay { int get(); void set(int value); };
public int AutomaticDelay { get; set; }
member this.AutomaticDelay : int with get, set
Public Property AutomaticDelay As Integer

属性值

自动延迟(以毫秒为单位)。The automatic delay, in milliseconds. 默认值为 500。The default is 500.

注解

属性使您可以设置一个延迟值, 该值随后用于设置AutoPopDelayInitialDelayReshowDelay属性的值。 AutomaticDelayThe AutomaticDelay property enables you to set a single delay value, which is then used to set the values of the AutoPopDelay, InitialDelay, and ReshowDelay properties. 每次设置AutomaticDelay此属性时, 将默认设置以下值。Each time the AutomaticDelay property is set, the following values are set by default.

PropertyProperty 默认值Default Value
AutoPopDelay 属性值的AutomaticDelay 10 倍。10 times the AutomaticDelay property value.
InitialDelay AutomaticDelay等于属性值。Equal to the AutomaticDelay property value.
ReshowDelay AutomaticDelay属性值为1/5。1/5 of the AutomaticDelay property value.

设置属性后, AutomaticDelay也可以单独设置这些属性。These properties can also be set independently once the AutomaticDelay property has been set. 有关详细信息, 请参阅AutoPopDelayInitialDelayReshowDelay属性。For more information, see the AutoPopDelay, InitialDelay, and ReshowDelay properties. 此属性通常用于为工具提示窗口提供一致的延迟模式。This property is typically used to provide a consistent delay pattern for your ToolTip windows.

适用于

另请参阅