Method AddSelector
AddSelector<T>(object, IEnumerable<T>, IValueSource<object>?, CustomEventArgs?)
Adds item with the editor for the nullable value of the specified type.
public virtual PanelSettingsItem AddSelector<T>(object label, IEnumerable<T> pickList, IValueSource<object>? valueSource = null, CustomEventArgs? e = null)
Parameters
label
objectText which will be shown next to the editor.
pickList
IEnumerable<T>Collection of possible values.
valueSource
IValueSource<object>Source of the value. If Null an internal value container is used.
e
CustomEventArgsAdditional arguments.
Returns
Type Parameters
T
Type of the value.