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
labelobjectText which will be shown next to the editor.
pickListIEnumerable<T>Collection of possible values.
valueSourceIValueSource<object>Source of the value. If Null an internal value container is used.
eCustomEventArgsAdditional arguments.
Returns
Type Parameters
TType of the value.