[]
        
(Showing Draft Content)

C1.Framework.RepeatButtonElement

RepeatButtonElement Class

Repeat button (fires repeatedly, like scrollbar buttons).

Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class RepeatButtonElement : ButtonElement, ISupportUia, IToolTipElement, IUiaButton, IUiaInvokeProvider

Constructors

Name Description
RepeatButtonElement()

Initializes a new RepeatButtonElement.

RepeatButtonElement(Style)

Initializes a new RepeatButtonElement with specified style.

RepeatButtonElement(Style, params object[])

Initializes a new RepeatButtonElement with specified style and content.

RepeatButtonElement(params object[])

Initializes a new RepeatButtonElement with specified content.

Properties

Name Description
Delay

Gets or sets the interval before the button starts firing click events when the button is kept pressed, in milliseconds.

HoverDelay

Gets or sets the interval before the button starts firing click events when the mouse hovers over the button, in milliseconds.

Interval

Gets or sets the interval between clicks when the button is kept pressed, in milliseconds.

Methods

Name Description
OnMouseDown(MouseEventArgs)

Called by the host control when the user presses a mouse button over this Element.

OnMouseEnter(EventArgs)

Called by the host control when the mouse enters this Element.

OnMouseLeave(EventArgs)

Called by the host control when the mouse leaves this Element.

OnMouseLostCapture(MouseEventArgs)

Called by the host control when the user releases the left mouse button over a disabled Element.

OnMouseUp(MouseEventArgs)

Called by the host control when the user releases a mouse button over this Element.