Entries by Peter Staev

Password TextBox in WPF

In .NET Framework 3.0 (WPF) Microsoft have removed the property of a TextBox, which specifies whether the textbox is Password or Normal type. But in replacement they’ve introduced a new control named PasswordBox which is very simple and intuitive to use. Here is a simple example: XAML: <PasswordBox x:Name=”txtPassword” ToolTip=”Password” PasswordChar=”*” /> By default the […]