单项选择题

‍将文本框控件设置为密码显示方式的方法是()。

A.将Text属性设置为空
B.将PasswordChar属性设置为空
C.将UseSystemPasswordChar属性设置为“True”
D.将PasswordChar属性设置为“*”