次の方法で共有


ToolTip.AutomaticDelay プロパティ

ツール ヒントの自動遅延を取得または設定します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

構文

'宣言
Public Property AutomaticDelay As Integer
'使用
Dim instance As ToolTip
Dim value As Integer

value = instance.AutomaticDelay

instance.AutomaticDelay = value
public int AutomaticDelay { get; set; }
public:
property int AutomaticDelay {
    int get ();
    void set (int value);
}
/** @property */
public int get_AutomaticDelay ()

/** @property */
public void set_AutomaticDelay (int value)
public function get AutomaticDelay () : int

public function set AutomaticDelay (value : int)

プロパティ値

自動遅延 (ミリ秒単位)。既定値は 500 です。

解説

AutomaticDelay プロパティを使用すると、単一の遅延値を設定できます。この値は、AutoPopDelayInitialDelay、および ReshowDelay の各プロパティ値の設定で使用されます。AutomaticDelay プロパティを設定するたびに、既定で設定される値を次に示します。

プロパティ

既定値

AutoPopDelay

AutomaticDelay プロパティ値の 10 倍。

InitialDelay

AutomaticDelay プロパティ値に等しい。

ReshowDelay

AutomaticDelay プロパティ値の 1/5。

AutomaticDelay プロパティの設定後は、これらのプロパティを個別に設定することもできます。詳細については、AutoPopDelayInitialDelayReshowDelay の各プロパティのトピックを参照してください。このプロパティは、通常、ツール ヒント ウィンドウに対して一貫した遅延パターンを提供するために使用します。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

ToolTip クラス
ToolTip メンバ
System.Windows.Forms 名前空間
AutoPopDelay
InitialDelay
ReshowDelay
UseFading
Popup