Password in asterisk format

Dec 17 2011 7:03 AM
hi,
Very precisely am working in Expression Blend and there is no such property of textbox to show the text in asterisk form for quoting passwords and to incorporate this I used the following lines of code.

usertxtpass.attributes.add("value",passwordvalue);
usertxtpass.text = usertxtpass.attributes["value"].tostring();

but there is no such property like .attribute.add and .attribute["values"] so cannot use this too.. please suggest some solution other than this keeping Expression Blend in mind...?

Answers (2)