[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Collapse]Data Editors
    Included Components
   [Expand]Implementation Details
   [Expand]Getting Started
   [Collapse]Editor Types
     AutoSuggestEdit
     BarCodeEdit
     BrushEdit
     ButtonEdit
     Calculator
     CheckEdit
     ColorEdit
     ComboBoxEdit
     DateNavigator
     DateEdit
     DropDownButton
     FlyoutControl
     FontEdit
     HyperlinkEdit
     ImageEdit
     ListBoxEdit
     LookUpEdit
     MemoEdit
     PasswordBoxEdit
     PopupBrushEdit
     PopupCalcEdit
     PopupColorEdit
     PopupImageEdit
     ProgressBarEdit
     RangeControl
     RatingEdit
     SparklineEdit
     SpinEdit
     SimpleButton
     SplitButton
     TextEdit
     TimePicker
     ToggleSwitch
     Token Editors
     TrackBarEdit
   [Expand]Common Features
   [Expand]Range Control
   [Expand]Visual Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

PasswordBoxEdit

Expanded Overview

The PasswordBoxEdit control is an advanced text box designed for entering private information.

The PasswordBoxEdit control offers the following features.

  • Configurable password char

    Use the PasswordBoxEdit.PasswordChar property to choose a character that is displayed within the editor's text box.

  • Optional null text

    Use the PasswordBoxEdit's BaseEdit.NullText property to specify the null text. The null text is displayed to the user when the password box is empty.

  • Configurable maximum password length

    Use the PasswordBoxEdit's TextEditBase.MaxLength property to limit the length of the password.

  • Password strength estimation

    Use the editor's PasswordBoxEdit.PasswordStrength property to display the estimated strength of the entered password.

    You can estimate password strength manually using the PasswordBoxEdit.CustomPasswordStrength event.

  • Input validation

    Advanced data validation capabilities

  • Optimized for in-place editing

    PasswordBoxEdit can be used standalone or as an in-place editor nested in a container control. The PasswordBoxEditSettings class implements the in-place editing functionality. See In-place Editors to learn more.

Expanded Standalone PasswordBoxEdit

To add a standalone PasswordBoxEdit to a Window, drag it from the Toolbox.

The following sample demonstrates how to create a PasswordBoxEdit using XAML markup.

Expanded In-place PasswordBoxEdit

To embed a PasswordBoxEdit into a container control, use the PasswordBoxEditSettings class.

The following sample demonstrates how to embed a PasswordBoxEdit into a GridControl column.

Is this topic helpful?​​​​​​​