Timer
-
Hi! I'm new to WPF. I want to add a button(initially invisible) and every minute I've to make it visible. How to do this?
-
Hi! I'm new to WPF. I want to add a button(initially invisible) and every minute I've to make it visible. How to do this?
Add a button set it's visibility to a property in your VM/code behind add a timer to your vm that toggles the property start the timer when you load the view
Never underestimate the power of human stupidity RAH
-
Add a button set it's visibility to a property in your VM/code behind add a timer to your vm that toggles the property start the timer when you load the view
Never underestimate the power of human stupidity RAH
Or use the entirely XAML way and use a Storyboard.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
-
Or use the entirely XAML way and use a Storyboard.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
Pete O'Hanlon wrote:
use a Storyboard
Advanced xaml work, I have not started working with more than the basics in xaml so a storyboard did not occur to me. I can see myself going through these apps in a couple of years and shaking the head in despair.
Never underestimate the power of human stupidity RAH
-
Hi! I'm new to WPF. I want to add a button(initially invisible) and every minute I've to make it visible. How to do this?