Binary Bob’s Blog

19
Jan

FlexibleBehavior class: More on reuse and Behaviors

Posted By Bob Bartholomay under Silverlight.

A recent post explained how encapsulating functionality (e.g. Animations, etc) into a Behavior promoted reuse in that once this functionality is encapsulated into a Behavior, it can then easily be applied to multiple Controls in various projects by a designer using Blend (remember “write once run anywhere”!) Thinking deeper I thought: “That’s not really as [...]

8
Jan

Promoting reuse using Behaviors: RotateRefreshBehavior

Posted By Bob Bartholomay under Silverlight.

I needed a UI Control that enables the user to refresh the current View. When the user clicks the control it rotates as feedback. The quickest way to do this would be to switch to the animation workspace in Blend and create a new Storyboard, set a KeyFrame and dial in a RotateTransform using the [...]

3
Jan

Silverlight XAML Viewer with info callouts and links to MSDN docs

Posted By Bob Bartholomay under Silverlight.

I’ve been messing around with a Silverlight 3 app that allows you to open and view XAML files located on your locale machine. Sure, you can do that already with your favorite editor including Visual Studio but I wanted to show more information easily so the viewer did not have to continually copy and paste [...]