Class DropdownOptionData
A
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class DropdownOptionData : BindableObject
Remarks
You cannot add this to multiple Dropdown.
The lifetime will be bound to the lifetime of the Dropdown.
Fields
| Improve this Doc View SourceImageProperty
Backing store for the Image property.
Declaration
public static readonly BindableProperty ImageProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TextProperty
Backing store for the Text property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceImage
A property that represents UnityEngine.UI.Dropdown.OptionData.image.
Declaration
public UnityEngine.Sprite Image { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Sprite |
Text
A property that represents UnityEngine.UI.Dropdown.OptionData.text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
String |