Animated GIF

3 posts, 0 answers
  1. Manuel
    Manuel avatar
    17 posts
    Member since:
    Apr 2009

    Posted 23 Apr 2009 Link to this post

    I like an animated gif on a node of my treeView, but that is not loop forever, only when you expand or collapse the node.
  2. Victor
    Victor avatar
    1351 posts

    Posted 24 Apr 2009 Link to this post

    Hello Manuel,

    Thank you for writing.
    This is an interesting feature that you request. The gif image does not provide any means of stopping the animation, because it has no play/stop functionality (it loops forever). The stopping and starting can be accomplished at a fairly low level by using the graphics object that paints the tree nodes. Our tree view however does not have such functionality. Please excuse us if this causes you an inconvenience - the tree view was not designed with such a feature in mind.

    Here is a suggestion that may help in your case. You can change the images, based on the node's state. In a collapsed node you can have a static image, which resembles the GIF. Once the node is expanded, you can change the image to the GIF, which will loop until the node is closed.

    Please write back if you have other questions.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Manuel
    Manuel avatar
    17 posts
    Member since:
    Apr 2009

    Posted 24 Apr 2009 Link to this post

    Thank you!!
    I try to do and if I did it, they said
Back to Top