Table of Contents

Method HandleClickTrigger

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

HandleClickTrigger(ClickTriggerKind, MouseEventArgs)

Handles a click trigger event and performs the appropriate action based on the specified trigger kind.

protected virtual void HandleClickTrigger(UserControl.ClickTriggerKind triggerKind, MouseEventArgs e)

Parameters

triggerKind UserControl.ClickTriggerKind

The type of click trigger that occurred.

e MouseEventArgs

The mouse event arguments associated with the click event.

Remarks

This method checks the current state of the control and performs actions such as raising a click event or displaying a drop-down menu, depending on the specified trigger kind and the control's configuration. Override this method in a derived class to customize the behavior for handling click triggers.