0 Replies Latest reply on Mar 11, 2012 1:11 PM by JAXIMFLASH

    Adding image to Button using iconDisplay?

    JAXIMFLASH Level 1

      I tried to do the following to add an icon added to a spark button, but the image is not showing up.

      Is there a trick to do this?

       

      _btnAction = new Button();

      _btnAction.iconDisplay = new BitmapImage();

      _btnAction.iconDisplay.source = bmp;//Where bmp is a bitmap