text: ﻿<ContentDialog x:Name="passwordDialog"
      x:Class="BreadPlayer.Dialogs.PasswordDialog"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="using:BreadPlayer.Dialogs"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      mc:Ignorable="d"
      PrimaryButtonText="Let me enter!"
      SecondaryButtonText="Get me out of here!"
      PrimaryButtonClick="ContentDialog_PrimaryButtonClick"
      SecondaryButtonClick="ContentDialog_SecondaryButtonClick">
  
      <StackPanel Width="{Binding ElementName=InputDia, Path=DialogWidth, UpdateSourceTrigger=Explicit}">
          <PasswordBox x:Name="password" Style="{StaticResource RoundedPasswordBoxStyle}" Visibility="Visible" Header="Password:" Password="{Binding ElementName=passwordDialog, Path=Password, Mode=TwoWay}" Margin="0,5,0,0" />
       </StackPanel>
  </ContentDialog>