Table of Contents

Method DefaultItemToLabelControl

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

DefaultItemToLabelControl(PanelSettingsItem, object?)

Default conversion method from Label item to the appropriate control.

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