public static Action<object> GetAction(DependencyObject d) { return (Action<object>) d.GetValue(ActionProperty); }