Table of Contents

Method Combine

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

Combine(KeyStates, KeyStates)

Combines two KeyStates values into one. This is useful, for example, when getting key modifiers (Alt, Control, Shift) state on platforms where left and right modifier keys have different codes.

public static KeyStates Combine(KeyStates state1, KeyStates state2)

Parameters

state1 KeyStates

First key state to combine.

state2 KeyStates

Second key state to combine.

Returns

KeyStates