Class DropdownBinder
The two-way IBinder binds a value to the component with
Implements
Inherited Members
Namespace: FastenUp.Runtime.Binders.Behaviours
Assembly: cs.temp.dll.dll
Syntax
public sealed class DropdownBinder : BaseBinder, IValueReceiver<string[]>, IBinder<string[]>, IValueReceiver<List<TMP_Dropdown.OptionData>>, IBinder<List<TMP_Dropdown.OptionData>>, IValueReceiver<int>, IValueProvider<int>, IBinder<int>, IBinder
Methods
GetValue()
Gets the value from the binder.
Declaration
public int GetValue()
Returns
Type | Description |
---|---|
Int32 | The value that was provided by the binder. |
OnDisable()
Declaration
protected override void OnDisable()
Overrides
SetValue(List<TMP_Dropdown.OptionData>)
Sets the value to the binder.
Declaration
public void SetValue(List<TMP_Dropdown.OptionData> value)
Parameters
Type | Name | Description |
---|---|---|
List<TMP_Dropdown.OptionData> | value |
SetValue(Int32)
Sets the value to the binder.
Declaration
public void SetValue(int value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value |
SetValue(String[])
Sets the value to the binder.
Declaration
public void SetValue(string[] value)
Parameters
Type | Name | Description |
---|---|---|
String[] | value |