Behavior is a attachable piece of code to variours XAML elements. It’s part of Blend SDK. Full source code can be found on a GitHub page. How it works? Behavior attached to window listens to key-presses When sequence for Konami Code is completed then it lanuches Storyboard animation Storyboard moves raptor and plays raptor squeak.

Tagi: WPF
Źródło: blog.soltysiak.it
Dziel się z innymi:
How to make easter egg in your application (WPF Behaviors) – Soltys Blog

Windows 2667 dni, 10 godzin, 19 minut temu Paweł Sołtysiak 115 pokaż kod licznika zwiń

Wczytywanie artykułów...