Table of Contents

Method AddButton

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

AddButton(object, Action?, CustomEventArgs?)

Adds item with the button.

public virtual PanelSettingsItem AddButton(object label, Action? clickAction, CustomEventArgs? e = null)

Parameters

label object

Text which will be shown next to the editor.

clickAction Action

Action which is invoked when button is clicked.

e CustomEventArgs

Additional arguments.

Returns

PanelSettingsItem

AddButton(object, ItemActionDelegate?, CustomEventArgs?)

Adds item with the button.

public virtual PanelSettingsItem AddButton(object label, PanelSettings.ItemActionDelegate? clickAction, CustomEventArgs? e = null)

Parameters

label object

Text which will be shown next to the editor.

clickAction PanelSettings.ItemActionDelegate

Action which is invoked when button is clicked.

e CustomEventArgs

Additional arguments.

Returns

PanelSettingsItem