Table of Contents

Method AddBusyAction

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

AddBusyAction(Func<string, Action, ListControlItem>, string, Action)

Adds "heavy" Action to the VirtualListBox. When action executes, application's cursor is changed to the "busy" cursor.

public static ListControlItem AddBusyAction(Func<string, Action, ListControlItem> onAddAction, string title, Action action)

Parameters

onAddAction Func<string, Action, ListControlItem>

Function which is called when action is added.

title string

Action title.

action Action

Action method.

Returns

ListControlItem

AddBusyAction(string, Action)

Adds "heavy" Action to the ActionsListBox. When action executes, application's cursor is changed to the "busy" cursor.

public virtual ListControlItem AddBusyAction(string title, Action action)

Parameters

title string

Action title.

action Action

Action method.

Returns

ListControlItem