WPF Sentinel objects and how to check for an internal type
In .NET 4.5, you can now compare against BindingOperations.DisconnectedSource
.
This one?
var disconnectedItem = typeof(System.Windows.Data.BindingExpressionBase) .GetField("DisconnectedItem", BindingFlags.Static | BindingFlags.NonPublic) .GetValue(null);