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 2451 dni, 14 godzin, 55 minut temu Paweł Sołtysiak 114 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu