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

ButtonCommandMetroPasswordBox #993

Closed
AleksandarDev opened this issue Feb 1, 2014 · 3 comments
Closed

ButtonCommandMetroPasswordBox #993

AleksandarDev opened this issue Feb 1, 2014 · 3 comments
Assignees
Milestone

Comments

@AleksandarDev
Copy link
Contributor

We are currently unable to bind custom button to PasswordBox. I managed to get it working by c/p textbox style and removing some triggers/properties and then created new style just like for textbox, just based on this new passwordbox style. Someone who has more time could just change some parts of style to match password box properties
capture
.

@flagbug
Copy link
Member

flagbug commented Feb 1, 2014

Did you take a look at the demo? There are various examples of custom buttons for a textbox/passwordbox

@AleksandarDev
Copy link
Contributor Author

@flagbug Yeah, in demo there is only example with default clear button. I need to change the button image/path so I created new style that only overrides command button template. This works great with textbox as I can base the style on ButtonCommandMetroTextBox, but there is no equivalent for password box that I could base my style on.

The above example is with changed ButtonCommandMetroTextBox to work with passwordbox.

@ghost ghost assigned punker76 Feb 1, 2014
@punker76 punker76 removed their assignment Feb 24, 2014
@AzureKitsune
Copy link
Member

@AleksandarDev This would be a neat feature to add. I'll take a look into this for our 0.13 release.

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

No branches or pull requests

4 participants