Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxTextBox.Password Property

Specifies whether password mode is active.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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

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.

Watch Video: Blazor Text Box: Get Started

See Also