Set Password value for PasswordBox : PasswordBox « Windows Presentation Foundation « C# / CSharp Tutorial






<Window x:Class="SimpleStyles.Window1"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Title="SimpleStyles"
  Background="#F8F8F8">
  <ScrollViewer>
    <WrapPanel>
      <HeaderedItemsControl Header="TextBox">
        <StackPanel>
          <TextBox HorizontalAlignment="Center" Margin="8" Text="Edit Me" />
          <PasswordBox HorizontalAlignment="Center" Margin="8" Password="Password" />
        </StackPanel>
      </HeaderedItemsControl>
   
    </WrapPanel>
  </ScrollViewer>
</Window>
WPF Password For Password Box








24.23.PasswordBox
24.23.1.Set Password value for PasswordBoxSet Password value for PasswordBox
24.23.2.PasswordBox with MarginPasswordBox with Margin
24.23.3.Display a Password Entry Box and get the inputDisplay a Password Entry Box and get the input