Property attribute setting using password char ??
-
Using a propertygrid control i show my object properties to set and get. Using attribute properties like i show below, i can control Category, Description, even particular selection mode using TypeConverter() attribute.
<> _ Public Property IntercambioIn() ...
I need to read a password string, and i can't show password chars like '*'. Does exist any attribute to show the setting using password char ('*'). Regards -
Using a propertygrid control i show my object properties to set and get. Using attribute properties like i show below, i can control Category, Description, even particular selection mode using TypeConverter() attribute.
<> _ Public Property IntercambioIn() ...
I need to read a password string, and i can't show password chars like '*'. Does exist any attribute to show the setting using password char ('*'). RegardsYou can't do it in properties alone. You'd have to create your own custom property editor[^]. Scratch that. You CAN do it with a property. Look up the PasswordPropertyTextAttribute class.
<PasswordPropertyText(True)> _
Public Property Password() As String
Get
Return _password
End Get
...
End PropertyA guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007