Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoginDialog Password Preview Feature #1546

Closed
wants to merge 14 commits into from

Conversation

djengineerllc
Copy link
Contributor

Adding the ability to use the Password Preview feature like in Windows 8 login to the LoginDialog. It's optional and doesn't have to be used. I used the eye icon in the MahApps icon library for the password preview button.

I merged templates and styles from MahApps & from WPFSmartLibrary. I integrated in what was needed from the WPFSmartLibrary into the MahApps w/o adding a DLL reference to WPFSmartLibrary (https://wpfsmartlibrary.codeplex.com/).

mahappslogindialogpassprevmenuitem

mahappslogindialogpassprevinitscreen

mahappslogindialogpassprevpasswordtyped

mahappslogindialogpassprevhoveroverpreviewbutton

mahappslogindialogpassprevclickedonpreviewbutton

mahappslogindialogpassprevpreviewbuttonmouseup

Add a password binding class for the passwordbox in order to setup the windows 8 "preview password" button on the passwordbox control.
Add EnablePasswordPreview for LoginDialog.  If enabled, the "Win8MetroPasswordBox" style is applied to the password box which will enable the password preview button.
A converter for showing and hiding a control based upon text.  Used for the Password Preview added to the LoginDialog.
Add new style for previewing on passwordbox control inside the LoginDialog.
Setup password binding for the preview text.
Add Menu for Show LoginDialog w/ Password Preview
Add Menu Item Click event for showing a LoginDialog with the password preview enabled.
New style for password previewing on passwordbox
Password Binding for Win8 Password Preview
Add EnablePasswordPreview for LoginDialog
Add converter for show/hide if there is text
Setup password binding for the preview text
Add Menu for Show LoginDialog w/ Password Preview
Add menu click event - LoginDialog w/ Pass Prev
@djengineerllc
Copy link
Contributor Author

FYI:

New style for password previewing on passwordbox … (x) d6fefd7
It says that the Converter doesn't exist. The converter is added from the following:

Merge pull request #4 from djengineerllc/patch-3 … d070f7d
COMMENT: Add converter for show/hide if there is text


Merge pull request #1 from djengineerllc/patch-7 … (x) b967821
It says that it can't find the Behavior for the password binding doesn't exist. The behavior for password binding is added from the following:

Merge pull request #6 from djengineerllc/patch-1 …    7da3ee9
  COMMENT: Password Binding for Win8 Password Preview

@flagbug
Copy link
Member

flagbug commented Oct 13, 2014

I'm a bit lost here, can you squash all those commits so we can get rid of all those merge commits?

@bitbeans
Copy link
Contributor

Is there a chance you complete this pull request? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants