TreeView SelectedImageIndex

Discussion in 'Questions (Windows Mobile)' started by adukes, Jun 27, 2007.

  1. adukes

    adukes Member Licensed User

    Does the TreeView SelectedImageIndex always default to something (maybe index 0) even if it is not set? In my app, I do not want the image to change when I select a node because I have the image set according to the contents of the node. However, everytime I select a node the selected node image changes. If this is true, how dow I keep the image from changing?
     
  2. Cableguy

    Cableguy Expert Licensed User

    You can "select" the image according to the node name

    However i believe it would be tricky....
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    When you set the node's ImageIndex set the node's SelectedImageIndex to the same value.
     
  4. adukes

    adukes Member Licensed User

    Thanks,
    That will work!
     
Loading...