ToolTipService.SetBetweenShowDelay(DependencyObject, Int32) 方法

定义

设置对象的 BetweenShowDelay 附加属性的值。

public:
 static void SetBetweenShowDelay(System::Windows::DependencyObject ^ element, int value);
public static void SetBetweenShowDelay (System.Windows.DependencyObject element, int value);
static member SetBetweenShowDelay : System.Windows.DependencyObject * int -> unit
Public Shared Sub SetBetweenShowDelay (element As DependencyObject, value As Integer)

参数

element
DependencyObject

将附加属性写入到的对象。

value
Int32

要设置的值。

示例

以下示例演示如何设置 ToolTipService.BetweenShowDelay 附加属性的值。

ToolTipService.SetBetweenShowDelay(ellipse1, 2000);
ToolTipService.SetBetweenShowDelay(ellipse1, 2000)

适用于

另请参阅