In Flex, is it possible to include some kind of MetaData to a property, to be able to list all possible values that a property can use? I want to be able to list the values when calling the property from MXML, as in the case of for example the property enabled or visible, where the user gets a list of "true/false".
R – Define possible values for a property in Flex
actionscript-3flex3flexbuildermxml
Best Answer
Use the Inspectable metadata tag. In your case you'll want to explicitly use the enumeration attribute.