string | OptionListGetterName[Get] The method name to be used for obtaining an IEnumerable<string> of options available for the drop down menu. |
bool | RefreshOnRepaint[Get] Whether or not the dropdown options getter method should be invoked on every repaint or cached. This should be set to true if the list is expected to change throughout interactions with the GUI. |
bool | AllowInvalid[Get] Whether or not the dropdown option can be invalid in which case it will be left at index -1. If false, this will always clamp the dropdown to the first option. |
bool | Returns true if the data options for the field list are empty and displays the property value instead. |
bool | ShowRefreshButton[Get] If true a refresh button will be shown |
string | RefreshMethodName[Get] If set, this method will be used when the refresh button is pressed. This may be a longer manual refresh if needed and may or may not be the same as the refresh method used for refreshing on paint. |
bool | ShowSearch[Get] If set a search button will appear to allow for text based searching of parameters |
DropDownAttribute ( string optionListGetterName, bool refreshOnRepaint, bool allowInvalid, bool showPropertyIfListIsEmpty, bool showRefreshButton, string refreshMethodName, bool showSearch ) Constructor for drop down attribute |
| string Meta.WitAi.Attributes.DropDownAttribute.OptionListGetterName |
|---|
The method name to be used for obtaining an IEnumerable<string> of options available for the drop down menu. |
| bool Meta.WitAi.Attributes.DropDownAttribute.RefreshOnRepaint |
|---|
Whether or not the dropdown options getter method should be invoked on every repaint or cached. This should be set to true if the list is expected to change throughout interactions with the GUI. |
| bool Meta.WitAi.Attributes.DropDownAttribute.AllowInvalid |
|---|
Whether or not the dropdown option can be invalid in which case it will be left at index -1. If false, this will always clamp the dropdown to the first option. |
| bool Meta.WitAi.Attributes.DropDownAttribute.ShowPropertyIfListIsEmpty |
|---|
Returns true if the data options for the field list are empty and displays the property value instead. |
| bool Meta.WitAi.Attributes.DropDownAttribute.ShowRefreshButton |
|---|
If true a refresh button will be shown |
| string Meta.WitAi.Attributes.DropDownAttribute.RefreshMethodName |
|---|
If set, this method will be used when the refresh button is pressed. This may be a longer manual refresh if needed and may or may not be the same as the refresh method used for refreshing on paint. |
| bool Meta.WitAi.Attributes.DropDownAttribute.ShowSearch |
|---|
If set a search button will appear to allow for text based searching of parameters |
| Meta.WitAi.Attributes.DropDownAttribute.DropDownAttribute ( string optionListGetterName, bool refreshOnRepaint, bool allowInvalid, bool showPropertyIfListIsEmpty, bool showRefreshButton, string refreshMethodName, bool showSearch ) |
|---|
Constructor for drop down attribute |