NativeButton

Class Overview
Provides operations on windows of WindowClass type Button



public NativeButton(WindowControl src)
Explanation
Constructor.

Parameter
src
WindowControl with the target window handle. 



public NativeButton(WindowsAppFriend app, IntPtr windowHandle)
Explanation
Constructor.

Parameters
app
Application manipulation object
windowHandle
Window handle



public CheckState CheckState{ get; }
Explanation
Returns the object's check state.



public void EmulateCheck(CheckState state)
Explanation
Sets the object's check state. 
If the state changes, BN_CLICKED is notified.

Parameters
state
Check state



public void EmulateCheck(CheckState state, Async async)
Explanation
Sets the object's check state. 
If the state changes, BN_CLICKED is notified.
Executes asynchronously. 

Parameters
state
Check state
async
Asynchronous execution object



public void EmulateClick()
Explanation
Performs a click and notifies BN_CLICKED.
 



public void EmulateClick(Async async)
Explanation
Performs a click and notifies BN_CLICKED.
Executes asynchronously. 

Parameters
async
Asynchronous execution object


JR