Home > Flex, Swf > Setting the border style on the MX Accordion container in Flex

Setting the border style on the MX Accordion container in Flex

August 15th, 2010

The following example shows how you can set the border style on an MX Accordion container in Flex 3 by setting the borderStyle style. <?xml version="1.0"?> <!– http://blog.flexexamples.com/2010/06/17/setting-the-border-style-on-the-mx-accordion-container-in-flex/ –> <mx:Application name="Accordion_borderStyle_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="white">   <mx:ApplicationControlBar dock="true"> <mx:Form> <mx:FormItem label="borerStyle:"> <mx:ComboBox id="cBox" dataProvider="[inset,none,outset,solid]" selectedIndex="3" /> </mx:FormItem> </mx:Form> </mx:ApplicationControlBar>   <mx:Accordion id="acc" borderColor="red" borderStyle="{cBox.selectedItem}" left="20" right="20" [...]

Source:Setting the border style on the MX Accordion container in Flex

admin Flex, Swf ,