locked
Liquid particle RRS feed

  • Question

  • Hi i was wondering if any one could show me how to create a liquid particle in wpf like in a grid or rectangle actually my use is that i need this method to use for a syringe so when i press a button the liquid slowly starts filling up the sysringe the syringe is basically a <Grid> or <Rectangle> thanks
    D.Boy
    Sunday, April 5, 2009 1:52 PM

Answers

  • but i am looking for a more realistic flow so i had to workaround and take a video and add it as media to the project and then create a storyboard and record it which is quite satysfying thanks for your reply though
    D.Boy
    Wednesday, April 8, 2009 10:57 AM

All replies

  • You could make that through overriding a style/control template etc.

    Take a look at his excellent article by Charles Petzold,
    http://msdn.microsoft.com/en-us/magazine/cc163497.aspx
    The example has a thermometer.
    • Proposed as answer by Tao Liang Tuesday, April 7, 2009 3:16 AM
    • Marked as answer by Tao Liang Wednesday, April 8, 2009 1:52 AM
    • Unmarked as answer by jackandjill2012 Wednesday, April 8, 2009 10:56 AM
    Tuesday, April 7, 2009 3:10 AM
  • but i am looking for a more realistic flow so i had to workaround and take a video and add it as media to the project and then create a storyboard and record it which is quite satysfying thanks for your reply though
    D.Boy
    Wednesday, April 8, 2009 10:57 AM