Class
DesktopButton

Represents a button control.

Definition

Constructors

DesktopButton()

Declaration

cs-api-definition
public DesktopButton()

Methods

InitControl(DesktopElement)

Initialize desktop control.

Declaration

cs-api-definition
protected override void InitControl(DesktopElement element)

Parameters

element

DesktopElement

Underlying element.

Overrides DesktopControl.InitControl(DesktopElement)

Press(int)

Press the button without performing mouse action.

Declaration

cs-api-definition
public void Press(int delay = 250)

Parameters

delay

int

Time in ms to wait once the press operation is completed.