Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6820761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:27:48+00:00 2026-05-26T21:27:48+00:00

I have two small problems/questions about app development in Windows Phone 7. 1: I

  • 0

I have two small problems/questions about app development in Windows Phone 7.

1:
I am trying to use a generic password field in Windows Phone 7. When I created a generic regular text field, I could “pole” it’s value with the variable username.Text, (“username” being the name of the text input field).

MessageBox.Show("Success! Username: "+username.Text+", Password: "+password.Text+".");

However, when I try to do the same thing for a password box, it tells me:

Error 1 ‘System.Windows.Controls.PasswordBox’ does not contain a definition for ‘Text’ and no extension method ‘Text’ accepting a first argument of type ‘System.Windows.Controls.PasswordBox’ could be found (are you missing a using directive or an assembly reference?) C:\Users\Josha\workspace\App\App\MainPage.xaml.cs 36 93 App

I have tried searching around on the internet for hours, but have not gotten any relevant results.

Question number 2:
Does anyone know of a way to put “hint” text in said password box? I would like it to say in grayed-out letters “Password” when it is blank.

Thanks all!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:27:48+00:00Added an answer on May 26, 2026 at 9:27 pm

    for question 1: pwdName.Password give the value of the password (pwdName is the x:name of the control)

    For question 2: watermarking for password box is possible by creating your custom control or go through this article

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small problem with Smarty... I have two different template files in
I have a small problem with UINavigationController animation between two view. My application build
I have two side borders on my website, left and right side... small image
If I have these two tables: <table> <tr> <td>Small Length Content</td> </tr> </table> <table>
I actually have two questions regarding the same problem but I think it is
We've deployed our rails app to EC2. In our setup, we have two proxies
I have two images I'm trying to co-register - ie, one could be of
I'm trying to have two or more columns worth of DIVs for input elements
I have a web app that I provide to small to medium-sized businesses as
I'm playing around with MVC3, trying to create small test projects which simulate problems

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.