internal static void Track(UIElement e) { if (e == null) { return; } if (BindingOperations.GetBindingExpression(e, IsVisibleProxyProperty) == null) { e.Bind(IsVisibleProxyProperty) .OneWayTo(e, UIElement.IsVisibleProperty); } }