Sdílet prostřednictvím


MouseHoverAttribute Class

Definition

An attribute to be placed on an event handler for MouseHover, specifying the delay between the time when the mouse stops moving and the generation of the hover event.

public ref class MouseHoverAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class MouseHoverAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type MouseHoverAttribute = class
    inherit Attribute
Public NotInheritable Class MouseHoverAttribute
Inherits Attribute
Inheritance
MouseHoverAttribute
Attributes

Remarks

The default, if no MouseHoverAttribute is specified, is 150ms.

Constructors

MouseHoverAttribute(Int32)

Initializes a new instance of MouseHoverAttribute.

Properties

Delay

Gets the time in milliseconds between the time when the mouse stops moving and the generation of the hover event.

Applies to