Table of Contents

Method DefaultItemToEnumControl

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

DefaultItemToEnumControl(PanelSettingsItem, object?)

Default conversion method from Enum item to the appropriate control.

public static object? DefaultItemToEnumControl(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.