it doesn't have this property, you can try using contentBackgroundColor or chromeColor
Unfortunately , the answer is no where related to my question .
First of all , ConboBox Component has got data property with in it .
And I am thinking why my ComboBox.data is not entering in this condition ??
You shouldn't use the data property in this context. It real purpose comes in to picture when you are working/using itemRenderers or itemEditors.
More over the condition if(mycombobox.data>1) will not be satisfied why because your mycombobox.data equals to null value and hence the condition fails.
dataproperty lets you pass a value to the component when you use it in an item renderer or item editor. You typically use data binding to bind a field of the
dataproperty to a property of this component.
The ComboBox control uses the
listDataproperty and the
dataproperty as follows. If the ComboBox is in a DataGrid control, it expects the
dataFieldproperty of the column to map to a property in the data and sets
selectedItemto that property. If the ComboBox control is in a List control, it expects the
labelFieldof the list to map to a property in the data and sets
selectedItemto that property. Otherwise, it sets
selectedItemto the data itself.
You do not set this property in MXML.
This property can be used as the source for data binding.