Skip to main content
A newer version of this page is available. .

DxTextBox.Password Property

Specifies whether password mode is active.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public bool Password { get; set; }

Property Value

Type Description
Boolean

true to activate password mode; otherwise, false.

Remarks

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