Back to Devexpress

PGridOptionsView.PasswordChar Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-pgridoptionsview-f037d156.md

latest2.3 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue('*')]
[XtraSerializableProperty]
public virtual char PasswordChar { get; set; }
vb
<DefaultValue("*"c)>
<XtraSerializableProperty>
Public Overridable Property PasswordChar As Char

Property Value

TypeDefaultDescription
Char'*'

A character displayed instead of actual characters.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

PGridOptionsView Class

PGridOptionsView Members

DevExpress.XtraVerticalGrid Namespace