public static string GetPassword(DependencyObject dp) { return (string)dp.GetValue(PasswordProperty); }