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

PGridOptionsView.PasswordChar Property

Gets or sets the password character displayed instead of actual characters. Password mode is enabled for fields marked with the PasswordPropertyTextAttribute attribute.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#Declaration

[DefaultValue('*')]
[XtraSerializableProperty]
public virtual char PasswordChar { get; set; }

#Property Value

Type Default Description
Char '*'

A character displayed instead of actual characters.

#Property Paths

You can access this nested property as listed below:

Object Type Path to PasswordChar
PropertyGridControl
.OptionsView .PasswordChar

#Remarks

A bound object’s fields can be marked with the PasswordPropertyTextAttribute attribute. Values of these fields are masked by the Property Grid Control using a password character. Use the PasswordChar property to set your custom password character.

Copying, cutting and pasting operations are not available in password mode.

See Also