ToolTip.AutomaticDelay 屬性

定義

取得或設定工具提示的自動延遲。

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

屬性值

Int32

自動延遲 (以毫秒為單位)。 預設值為 500。

備註

屬性 AutomaticDelay 可讓您設定單一延遲值,然後用來設定 、 InitialDelayReshowDelay 屬性的值 AutoPopDelay 。 每次設定 屬性時 AutomaticDelay ,預設會設定下列值。

屬性 預設值
AutoPopDelay 屬性值的 AutomaticDelay 10 倍。
InitialDelay 等於 AutomaticDelay 屬性值。
ReshowDelay 屬性值的 AutomaticDelay 1/5。

設定屬性之後 AutomaticDelay ,也可以獨立設定這些屬性。 如需詳細資訊,請參閱 AutoPopDelayInitialDelayReshowDelay 屬性。 此屬性通常用來為工具提示視窗提供一致的延遲模式。

適用於

另請參閱