Skip to main content

DxTextBox.Password Property

Specifies whether password mode is active.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll


public bool Password { get; set; }

Property Value

Type Description

true to activate password mode; otherwise, false.


Set the Password property to true to treat user input as a password and mask all characters. Users cannot copy or cut text from the editor in this mode.

Text Box - Password mode

<DxTextBox Password="true"></DxTextBox>

Run Demo: Text Box - Password

For security reasons, the password cannot be set on the server side. An attempt to edit a password on the server causes an empty editor to display.

See Also