Skip to main content

DxTextBox.Password Property

Specifies whether password mode is active.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.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

The enabled Password property allows you to specify and access an editor value on the server. However, this value cannot be passed to the client for security reasons. An attempt to edit a password on the server displays an empty editor.

Watch Video: Blazor Text Box: Get Started

See Also