Table of Contents

Method SendKeyUpIf

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SendKeyUpIf(ref bool, Key, ModifierKeys)

Same as SendKeyUp(Key, ModifierKeys) but checks for the condition before sending action. This method sets condition to the result of the send action operation.

public bool SendKeyUpIf(ref bool condition, Key keyCode, ModifierKeys modifiers = ModifierKeys.None)

Parameters

condition bool
keyCode Key
modifiers ModifierKeys

Returns

bool