Method DefaultItemToButtonControl
DefaultItemToButtonControl(PanelSettingsItem, object?)
Default conversion method from Button item to the appropriate control.
public static object? DefaultItemToButtonControl(PanelSettingsItem item, object? control)
Parameters
itemPanelSettingsItemItem to convert.
controlobjectThe 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.