Back to Devexpress

DxTextBox.Password Property

blazor-devexpress-dot-blazor-dot-dxtextbox-7873ac9f.md

latest1.4 KB
Original Source

DxTextBox.Password Property

Specifies whether password mode is active.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
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.

razor
<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.

YouTube video

See Also

DxTextBox Class

DxTextBox Members

DevExpress.Blazor Namespace