Tag Archives: Tips
Windows 8 Dev Tip: Nullable<T> Dependency Properties and Binding
Author’s Note: If you’re here just for a solution and are not interested in the extraneous bits, click here to jump to the workaround details. First, some background… Let’s say you’re building a user control and one of your control’s properties needs to be a three state boolean (true, false, null). No sweat, we’ll just [...]

Windows 8 Dev Tip: Animating Attached Properties
When you’re working with Metro Style apps, eventually you’ll want to animate an attached property. A common example is changing which grid row or column an element is in when reacting to a layout change. Let’s give it a try: <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="ApplicationViewStates"> <VisualState x:Name="FullScreenLandscape" /> [...]
INotifyPropertyChanged, The .NET 4.5 Way – Revisited
In what is what is becoming a never ending topic on my blog, I have stumbled across yet another interesting implementation of INotifyPropertyChanged. This implementation comes to us via the C# / XAML Windows 8 Metro application project templates in the Visual Studio 11 beta. In the project templates we are given a base class [...]
How to launch Git Extensions from Git Bash on Windows
Typically when I’m working on a piece of software, I leave an msysgit bash prompt open in the current project directory. Over time I’ve come to prefer using the command line for some git operations (clone, fetch, pull, rebase, push, checkout, branching) and the Git Extensions UI for others (commit, view log, examining prior commit [...]
INotifyPropertyChanged, The .NET 4.5 Way
Previously I discussed a novel new way of implementing INotifyPropertyChanged based on code I saw during a Build session. As of yesterday, February 29th, the Visual Studio 11 & .NET 4.5 Betas are out, and included in the .NET 4.5 Beta comes a handy new feature, the CallerMemberName attribute. It is one of three new Caller Information attributes [...]



