using Microsoft.Phone.Controls;
using System.Windows.Controls;

namespace Controls.Pages
{
    public partial class PasswordBoxPage : PhoneApplicationPage
    {
        public PasswordBoxPage()
        {
            InitializeComponent();
           
            //// PasswordBox mit vorbelegtem Wert und # als Maskierungzeichen im Code Behind
            //PasswordBox passwordBox1 = new PasswordBox();
            //passwordBox1.Height = 72;
            //passwordBox1.Width = 444;
            //passwordBox1.Margin = new System.Windows.Thickness(24, 32, 0, 0);
            //passwordBox1.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            //passwordBox1.VerticalAlignment = System.Windows.VerticalAlignment.Top;
            //passwordBox1.Password = "Streng Geheim";
            //passwordBox1.PasswordChar = '#';

            //// PasswordBox dem Grid hinzufügen
            //ContentGrid.Children.Add(passwordBox1);
        }
    }
}