1 <StackPanel Margin="10"> 2 <Label>Text:</Label> 3 <TextBox /> 4 <Label>Password:</Label> 5 <PasswordBox MaxLength="6" PasswordChar="X" /> 6 </StackPanel>