Class UM_WheelPickerDialog
A simple dialog containing an Wheel picker
Inheritance
System.Object
UM_WheelPickerDialog
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.CrossPlatform.UI
Assembly: cs.temp.dll.dll
Syntax
public class UM_WheelPickerDialog
Constructors
UM_WheelPickerDialog(List<String>, Int32)
Create a new wheel picker dialog for the specified values.
Declaration
public UM_WheelPickerDialog(List<string> values, int defaultValueIndex = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | values | list of the elements to choose from. |
System.Int32 | defaultValueIndex | Default value index. |
Properties
DefaultValueIndex
Default value index. 0
by default.
Declaration
public int DefaultValueIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Values
Picker values.
Declaration
public List<string> Values { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Methods
Show(Action<UM_WheelPickerResult>)
Start of the dialog display in on screen.
Declaration
public void Show(Action<UM_WheelPickerResult> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<UM_WheelPickerResult> | callback |