0 Replies Latest reply on Oct 21, 2009 4:56 PM by rfrishbe

    [svn:fx-trunk] 11070: This has two changes: one is adding index to IItemRenderer and the other is adding handleHighlightBackground to ItemRenderer .

    rfrishbe Level 3

      Revision: 11070

      Author:   rfrishbe@adobe.com

      Date:     2009-10-21 16:56:10 -0700 (Wed, 21 Oct 2009)


      Log Message:


      This has two changes: one is adding index to IItemRenderer and the other is adding handleHighlightBackground to ItemRenderer.  Adding an index property should speed things up a little bit, and it'll help fix a bug with renderers that have index-dependent drawing, like when alternatingItemColors is set.  handleHighlightBackground is a new shortcut property that will automatically handle drawing the background for selection/highlight in an item renderer.  For now, handleHighlightBackground defaults to false, so it shouldn?\226?\128?\153t affect anything.


      The two new properties still need to be PARBed, and the handleHighlightBackround property in particular may change names and default values.


      QE notes: We'll need to add new tests for this

      Doc notes: We'll need some new documentation around the handleHighlightBackground property and the suggested approach for custom item renderers.

      Bugs: SDK-22908

      Reviewer: Deepa, Evtim

      Tests run: checkintests, Mustella List, DataGroup, SkinnableDataContainer, ButtonBar, DropDownList

      Is noteworthy for integration: Yes


      Ticket Links:




      Modified Paths:









          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer .as