Tech Off Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

arrange TreeNode Items based on Images

Back to Forum: Tech Off
  • User profile image
    Shark_M

    Hi guys,

        How do you arrange Treeview items, according to the image index?

    for example you have

    --Mainfiles
        Img1- File1
        Img1-File2
        Img2- File3
    -SubFiles
       -Img2 File4
       -Img4 File3


    So i want to arrange files based on the image index of the tree node, or the listview too,,

    such that, items with image index x, get on top, then items with index y and so on

    also, i want to order them based on order of possessing image,,

    like  a file with image x, and another file with image x, i want the first file that had the image to be on top of the second, and so on.... (like message Trun line)


    how do i implement this on C# 2.0?

  • User profile image
    Shark_M

    for example,
    you want to sort high priority mail, with a given icon, on top
    and each is ordered by time of arrival among the high priority mail,
    than after than  normal unread mail, and then after than normal read mail

    and so on,

    how to implement that?

  • User profile image
    geekling

    FYI, you've asked a really weird question; its similar to asking someone "How do I sort a list of integers from lowest to highest?" Kind of answers itself.

    If that's not your problem, you should maybe be more specific.

  • User profile image
    Shark_M

    I have a listview (or treeview)

    Users can raise their hand in order to get a mic, How do i arrange the list based on Hand (Image) order?

    Then After that, Users with Cam, and then after that normal listeining users?

    how do i do that in C# for example?

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.