Table of Contents

Method DefaultItemToButtonControl

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

DefaultItemToButtonControl(PanelSettingsItem, object?)

Default conversion method from Button item to the appropriate control.

public static object? DefaultItemToButtonControl(PanelSettingsItem item, object? control)

Parameters

item PanelSettingsItem

Item to convert.

control object

The existing control which properties should be updated using item's properties. Can be null, in this case new control need to be created.

Returns

object

The control used to represent PanelSettingsItem.